Title: Auto Collapse DatagridView Post by: Punkerr on May 03, 2013, 03:12:04 PM Hi sworthy!
My question this time is about auto-collapse datagridview. It is possible auto-collapse the last row in gridview mode, when i clicking on another row to expand? or it is possible collapse all rows before expand another?? ??? Please refer to: http://jsfiddle.net/DQMQ9/ I'll really appreciate your help, thanks! Title: Re: Auto Collapse DatagridView Post by: stworthy on May 03, 2013, 07:17:31 PM Calling 'collapseRow' to collapse the specified row. Here is the updated example http://jsfiddle.net/DQMQ9/7/
Title: Re: Auto Collapse DatagridView Post by: Punkerr on May 04, 2013, 02:04:24 PM Thanks man!! you always helping us, that's a great solution!
Title: Re: Auto Collapse DatagridView Post by: Punkerr on May 06, 2013, 07:10:18 AM For better solution, I replaced this line:
Code: if (opts.lastExpandIndex != undefined){ Code: if (opts.lastExpandIndex != undefined && index != opts.lastExpandIndex){ Thanks stworthy! |