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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

column and row headers

Thread ID:

Created:

Updated:

Platform:

Replies:

63903 Jul 11,2007 12:06 PM UTC Jul 11,2007 05:55 PM UTC WinForms 1
loading
Tags: GridControl
John
Asked On July 11, 2007 12:06 PM UTC


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 05:55 PM UTC

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.

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

;