We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridDataBoundGrid (ver 1.6.1.8) - summary row

Thread ID:

Created:

Updated:

Platform:

Replies:

33755 Aug 25,2005 01:28 PM UTC Aug 29,2005 05:39 AM UTC WinForms 2
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 25, 2005 01:28 PM UTC

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

Administrator [Syncfusion]
Replied On 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.

Administrator [Syncfusion]
Replied On 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.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;