Hello,
I've (or better I'm creating) a new widget. It's like a calendar, and now I want to create a model to be able to populate easily that widget. I've been reading a lot of documentation about, but I don't get the solution. I'm thinking on a table model, maybe, and now I don't exactly know how to pass the data to the widget, I think that each day sould ask to the model what data does it have for that day, but I don't know how to do, al the references are about an index, and I don't know how to implement it.
I think It should be something like this:
Model:
20081001 data1
20081001 data2
20081002 data
20081003 data
And the view should ask "give me the data from 20081001" for example.
I hope you get my idea, and give me some solution.
Thank you in advance
Bookmarks