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.

GDBG and OnMouseDown event handler

Thread ID:

Created:

Updated:

Platform:

Replies:

46508 Jul 13,2006 03:42 PM Oct 11,2006 07:27 AM Windows Forms 4
loading
Tags: GridControl
Mark Atkinson
Asked On July 13, 2006 03:42 PM

When I am focused in a cell (without having edited the value in the cell) and click on a different row, the GridDataBoundGrid''s OnMouseDown event handler fires as expected. What I''ve noticed, though, is that the underlying CurrencyManager''s (and DataRowView in my case) EndEdit method gets called. This has the effect of changing the rows RowState to modified and firing a ListChanged event even though no data was changed. Is there something I might be missing? Or a way to stop the ListChange from happening? Thanks, Mark

Administrator [Syncfusion]
Replied On July 14, 2006 02:38 AM

Hi Mark, Try setting the UseListChangedEvent to false, to see if this makes the difference. this.gridDataBoundGrid1.UseListChangedEvent = false; Thanks, Rajagopal

Administrator [Syncfusion]
Replied On October 10, 2006 05:22 PM

Hi again,
No, that doesn''t seem to have an affect.

>Hi Mark,
>
>Try setting the UseListChangedEvent to false, to see if this makes the difference.
>this.gridDataBoundGrid1.UseListChangedEvent = false;
>
>Thanks,
>Rajagopal
>

Administrator [Syncfusion]
Replied On October 10, 2006 05:23 PM

Hi again,
No, that doesn''t seem to have an affect.

>Hi Mark,
>
>Try setting the UseListChangedEvent to false, to see if this makes the difference.
>this.gridDataBoundGrid1.UseListChangedEvent = false;
>
>Thanks,
>Rajagopal
>

Administrator [Syncfusion]
Replied On October 11, 2006 07:27 AM

Hi Mark,

Please try the attached sample that implements the BindingListChanged event in a grid and let me know if you trying something different.

http://www.syncfusion.com/Support/user/uploads/GDBGListChanged_c16faa5c.zip

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.

;