DataGridView expand/collapse details

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Hi,

Is there the possibility to have a DataGridView with a “row expand” functionality, so that when the row is expanded to show detail records and when collapsed to show a summary of those detail records? Like the classical order header/order items?

Would¬†this require binding to a hierarchy? Or the ¬†details get filled when the “expand row” event is fired and show a different control with the details. That would be more flexible. Something like the CellPanel functionality of VWG. I think this has been discussed before in the forum.

Best,

Alex

  • You must to post comments
0
0

Hi Alex,

This is a feature on the todo list, but it will most likely not get implemented before the first release.

The plan is to: a) add a Rows and Parent property to the DGV row class in order to behave like a tree node; b) add a Control property to the DGV cell class to let it host any control; c) add ColSpan and (maybe) RowSpan to the cell to span multiple cells.

We will also have a new RepeaterPanel extension control bound to a template control that will get repeated.

Best,
Luca

  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 5, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json