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
225
Multiple rows for each data row and add 'expand' icon
posted

Hello,

I want to have two grid rows for each data row, and hide the second row in 'expand' icon so that I only see the first row of each data row. 

For example, I have a Task grid, and I have two rows for each task.  The first row of each task has Subject, Date, and Customer columns, and the second row of each task has Description column.

I want to hide the second row in Expand icon so that I only see Subject, Date, and Customer columns unless I expand the second row.  So the grid will look like a nested grid, but the nested row is not for child objects, but for the base object (Task).

I know how to make two grid rows in the designer, but I don't know how to add 'Expand' icon to hide the second row.  Is there any way to do this?

Thanks!

 

Parents
  • 469350
    Verified Answer
    Offline posted

     The only way to show hierarchical data in the grid like this is to make your data source hierarchica. So you will have to build a data source for the grid that has the data in the structure you want here.

Reply Children