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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column header for indent cell.

Thread ID:





19028 Sep 16,2004 04:18 AM UTC Sep 16,2004 02:42 PM UTC WinForms 1
Tags: Grouping
Naveed Ahmed Siddiqui
Asked On September 16, 2004 04:18 AM UTC

With GridDataBoundGrid the expand/collapse column ( the one with +/- button) used to have its separate column with column header. Now in GridGroupingControl there doesnot seem to be any column header for that column. The problem is i need provide a feature of collapseAll/ExpandAll through a +/- displayed on the column header. What is the neat way of doing it?? do i have to do drawing in that column.

Administrator [Syncfusion]
Replied On September 16, 2004 02:42 PM UTC

Hi Naveed, with the GridGroupingControl the ColumnHeader cell on top of the indent column with +/- cells will be made a covered range that spans the first column and any indent cells before. If you want to change this behavior and not make the column header become a covered range, you could try and handle the groupingControl.TableModel.QueryCoveredRange event. In your handler you could check if Table.DisplayElements[e.RowIndex] is ColumnHeaderRow and if that is the case set e.Handled = true so that the default covering for column header cells will not take place. Stefan


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon