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

GDBG and OnMouseDown event handler

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 06:38 AM UTC

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 09:22 PM UTC

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 09:23 PM UTC

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 11:27 AM UTC

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.

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

;