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.
Unfortunately, activation email could not send to your email. Please try again.

Column header for indent cell.

Thread ID:

Created:

Updated:

Platform:

Replies:

19028 Sep 16,2004 12:18 AM Sep 16,2004 10:42 AM Windows Forms 1
loading
Tags: Grouping
Naveed Ahmed Siddiqui
Asked On September 16, 2004 12:18 AM

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 10:42 AM

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

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.

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.

;