Hi,
I’ve a Dhtmlx Grid in which two rows are colspan.Under each of these 2 rows,I’ve some normal rows.
Now,when i’m trying to sort the grid by a column the two rows(which are colspaned)are together and staying either at top or bottom while sorting.I want to sort the rows by a column under these 2 colspaned rows independently keeping the colspaned 2 rows fixed in their positions.
Can i sort a grid by a column value when i use colspan?
Thanks,
Sriram.
The colspan must not cause any problems for sorting, it will be treated the same as normal row. ( the all column in colspan will use the same cell value for sorting )
>>I want to sort the rows by a column under these 2 colspaned rows independently keeping the colspaned 2 rows fixed in their positions.
By default grid doesn’t allow such behavior, but can be implemented with custom sorting.
Please check
dhtmlx.com/docs/products/dhtmlxG … d_art_sort
“Partial sorting” section