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.

Expanding row problem

Thread ID:

Created:

Updated:

Platform:

Replies:

17056 Jul 29,2004 11:46 AM Jul 29,2004 12:40 PM Windows Forms 4
loading
Tags: GridControl
Umangi
Asked On July 29, 2004 11:46 AM

Hi I am using GridDataBoundGrid with 2 hierarchial level. On RowEnter event I want to do something specific with data. I dont want to do if user has clicked the cell to expand row. Means [+] Cell if user has clicked I dont want to execute the code in event handler of RowEnter event. How can I achieve this? Umangi

Administrator [Syncfusion]
Replied On July 29, 2004 12:01 PM

Here is one thing you can try. Set a flag to true in the RowExpanding event. Then check this flag in RowEnter to see if you are coming from RowExpanding. You would also probably want to reset it to false at the end of your RowEnter code.

Administrator [Syncfusion]
Replied On July 29, 2004 12:09 PM

I did the same. But the RowEnter event gets fired twice. One before RowExpanding and one after RowExpanding. Even CurrentCellActivated also fired twice like this. Otherwise instead on RowEnter I could use that event. I want to write the code when user clicks on cell or through keyboard up down button selects the cell.

Administrator [Syncfusion]
Replied On July 29, 2004 12:33 PM

Try using CellButtonClicked.

Administrator [Syncfusion]
Replied On July 29, 2004 12:40 PM

Thanks Clay It''s great help. Umangi

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.

;