zigguratt
17 Apr 2012, 5:36 AM
Hi all,
I'm still finding my way with Sencha Touch and have come across a situation where the solution is not obvious to me. I'm designing an electronic program guide (EPG), but of course I want to make it slightly more complex than your standard EPG.
The EPG will still be a grid of shows with the the x-axis representing blocks of time and the y-axis the channels. The difference will be that you can swipe through time on individual channels as opposed to the whole EPG scrolling left or right.
As far as I can tell, I need a component DataView with compound DataItems. Each row will consist of a container and a carousel. The container will be on the left and will display the channel number, call letters and logo. To its right will be a carousel of time blocks and details of the shows on that channel in each time block. This will be repeated vertically for every channel in the database.
I've looked at the (very few) examples of a component-based DataView but it looks like each DataItem can only use one store. I need to access two: one for the channel information and one for the show details. How would I best set this up to achieve the functionality I described above?
I'm still finding my way with Sencha Touch and have come across a situation where the solution is not obvious to me. I'm designing an electronic program guide (EPG), but of course I want to make it slightly more complex than your standard EPG.
The EPG will still be a grid of shows with the the x-axis representing blocks of time and the y-axis the channels. The difference will be that you can swipe through time on individual channels as opposed to the whole EPG scrolling left or right.
As far as I can tell, I need a component DataView with compound DataItems. Each row will consist of a container and a carousel. The container will be on the left and will display the channel number, call letters and logo. To its right will be a carousel of time blocks and details of the shows on that channel in each time block. This will be repeated vertically for every channel in the database.
I've looked at the (very few) examples of a component-based DataView but it looks like each DataItem can only use one store. I need to access two: one for the channel information and one for the show details. How would I best set this up to achieve the functionality I described above?