views:

60

answers:

0

Hello stackers,

I would like to create a dojo grid with expandable/collapsible rows. Each page will have 25 collapsed rows, but each collapsed row can contain any number of items (for example, 100 items). TreeGrid looks like a good option, but the default layout of TreeGrid is not what I need - the current 1.5 implementations show a 'summary row' at the bottom for each nesting when expanded that I would like to get rid of, along with a few other things, namely:

-It shows two 'blank/null' rows after each nesting - how can I remove these?

-It occasionally shows a large empty space at the top of the grid if rows are collapsed on large data sets- how can I fix this?

I have looked on the Dojo site references and SitePen blogs. I have not found any examples on how to create my own custom *grid widgets. I have tried to extend the dataGrid but my resulting implementation was slow and produced an inconsistent but very noticeable screen flash and loss of focus on expanding rows. So I am coming back to TreeGrid.

Can someone direct me to some current examples of how I can customize this? Also, any advice on creating custom grids or stores would be greatly appreciated. Thank you. Will update post with code in a bit... -robbie