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
5368
Grouped columns
posted

I have a pressing need to group WebDataGrid columns.

For example, if I have the following columns:

  • Rock Qty
  • Rock Unit Price
  • Rock Total
  • Paper Qty
  • Paper Unit Price
  • Paper Total
  • Scissors Qty
  • Scissors Unit Price
  • Scissors Total

I would like to have three groups of columns (Rock, Paper, and Scissors), each group having columns with headers "Qty", "Unit Price", and "Total".  There would be a shared header spanning the three columns with the group name.

I know the UltraWebGrid had something like this.  Is this possible in the WebDataGrid?  I don't mind getting neck-deep in javascript if a potential solution exists.

This is for on-screen viewing and editing.  I know that the WebExcelExporter can be manipulated to do this, but I am not exporting to Excel.

Parents Reply Children