1. #1
    Sencha Premium Member
    Join Date
    May 2011
    Posts
    8
    Vote Rating
    0
    itmsupport is on a distinguished road

      0  

    Question Unanswered: Grid with custom elements

    Unanswered: Grid with custom elements


    Hello,
    I am supposed to create a grid displaying custom elements with data from a store, each containing a timestamp. I would like the grid to group/sort the elements in hour intervals. If no elements exist for a specific hour interval I would still like to have the “grouping” shown. The grid grouping feature seemed like an obvious choice, but it appears that empty groupings cannot be shown. Also, the store is continuously being updated meaning that data often needs to be refreshed.

    Does anyone have a suggestion to which approach I should take to implement this?

    I have tried to exemplify the desired structure below:
    • 0:00
    • 1:00
      • <element with timestamp “1:33”>
    • 2:00
      • <element with timestamp “2:03”>
      • <element with timestamp “2:40”>
    • 3:00
    • 4:00
      • <element with timestamp “4:00”>
      • <element with timestamp “4:33”>
      • <element with timestamp “4:59”>
    • 5:00
    • 6:00
    • 7:00
      • <element with timestamp “7:00”>
      • <element with timestamp “7:59”>
    • 8:00
    and so on…

  2. #2
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    311
    Vote Rating
    52
    Answers
    59
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    A treegrid with just one level might work for you: http://cdn.sencha.com/ext-4.1.1a-gpl.../treegrid.html

Thread Participants: 1

Tags for this Thread