The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hello, I use GridDataBoundGrid of version 1.6.1.8 and I have a question.
Problem is next: Imagine DataSource, that has data with two levels of hierarchy. Level 1 contains summary information(totals) and level 2 details. When I expand level 1, rows of level 2 with details are simply inserted after row of level 1 with totals. I mean - now total is above details.
And what I need: after expandig, summary row of level 1 must be displayed at the bottom of details. But Expand button, that belongs to row with total, must stay at the first detailed row - not jump at the bottom with total row.
Is it possible to persuade GridDataBoundGrid of ver 1.6.1.8 to behave like that? Can you suggest something?
Thank you
ADAdministrator Syncfusion Team August 25, 2005 01:57 PM UTC
One idea is to try to interchange the text for the parent row with the text in the last child row.
This will take a little work and it may not work. Try handling DrawCellDisplayText. There get the GridBoundRecordState for the row. If it is an expanded parent row, then use the info in the GridBoundRecordState to find the value in teh corresponding bottom child row, and set that value to the e.DusplayText. Also, check if the GridBoundRecordState indicates you are on the last row of the child. If so, use teh info in the GridBoundrecordState to get the value from the parent and set it to the display text.
ADAdministrator Syncfusion Team August 29, 2005 05:39 AM UTC
yes, we already were thinking about this kind of tricks. We just wanted to know is there a more legal solution - some properties of grid for example. Thank you.