This question is locked. New answers and comments are not allowed.
I am having an issue with the MVC grid, and it appears to be a defect in the way the grid detail rows are rendered by the server when when in server binding mode. I have created a very simple sample program that exhibts the error. When you try and collapse the group it only hids the first element in the group. If you remove the DetailView() statement then the grid correctly collapses. I have tracked the issue down to the following:
Is this a known issue, or am I missing something
Regards,
Kevin Koenig
- when a grouped grid is rendered on the client side with grouping and details views, each grid row and detail row(that has been created) has a td with the class t-group-cell. In addition the t-group-cell td is the first td of each row (including the detail row)
- so each row has a td with t-group-cell and t-hierarchy-cell added to the rows in that order
- when rendered from the server the detail rows do not have a td with the t-group-cell added to them. In addition for the main rows of the grid the t-group-cell is rendered second instead of first which creates a wierd visual effect as compared to the ajax rendered grid
- when the grid.colapse() method is called it looks for t-group-cell to determine the group level. Once it finds the first detail row determines that the row is at level 0 and exits the hide code.
Is this a known issue, or am I missing something
Regards,
Kevin Koenig