Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1935
Collapsible sections techniques
posted

Hi all, 

I was trying to figure out the collapsing/expanding sections stuff, and I came across this forum post which was helpful, and certainly works,

http://es.infragistics.com/community/forums/t/94752.aspx

but I was left wondering why is it necessary to maintain an array of the collapsed sections if you can simply ask for the section in question

var sectionHeaderCell =  _grid.ResolveCellForPath (path);

and then ask the cell whether it is currently collapsed or not, and then return YES or NO as needed, for whether to collapse or not.

I haven't tried this 2nd technique yet, so maybe there's a good reason it woudn't work.

Parents
No Data
Reply Children
No Data