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 and row headers

Thread ID:

Created:

Updated:

Platform:

Replies:

63903 Jul 11,2007 08:06 AM Jul 11,2007 01:55 PM Windows Forms 1
loading
Tags: GridControl
John
Asked On July 11, 2007 08:06 AM


Is there a way to check inside of the databoundgrid.doubleclick event whether the user clicked on a columnheader?

Also, is there a way to programmatically refresh the row headers at runtime? Thanks!

haneefm [Syncfusion]
Replied On July 11, 2007 01:55 PM

Hi Code12345,

is there a way to programmatically refresh the row headers at runtime?
>>>>>>>>>>>>>>>>>>>>>>>>>>>
Yes, you can use the refresh range method.

this.grid.RefreshRange(GridRangeInfo.Col(0));

Is there a way to check inside of the databoundgrid.doubleclick event whether the user clicked on a columnheader?
>>>>>>>>>>>>>>>>>>>>>>>>>>>
You can handle the CellDoubleClick event to detect the mouse double click in a grid cell. Below is a code snippet

this.gridDataBoundGrid1.CellDoubleClick +=new GridCellClickEventHandler(gridDataBoundGrid1_CellDoubleClick);

private void gridDataBoundGrid1_CellDoubleClick(object sender, GridCellClickEventArgs e)
{
Console.WriteLine("dowble Clicked");
}
Best regards,
Haneef

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.

;