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

How to add property to GDBG?

Thread ID:

Created:

Updated:

Platform:

Replies:

109818 Jul 5,2013 05:59 AM UTC Jul 9,2013 04:30 AM UTC WinForms 1
loading
Tags: GridControl
Pavan
Asked On July 5, 2013 05:59 AM UTC

How to add a property to a GDBG at designing time that should effect the grid whenever we make changes the grid like when we do add a new row, deleting row, clearing grid, cols moved, col width changed, cell value changed etc.

Please help me.

Thanks in advance.


Arun Kumar V [Syncfusion]
Replied On July 9, 2013 04:30 AM UTC

Hi Pavan,
Thanks for your interst in Syncfusion products.
A new property can be made in effect to the reported behaviors by customizing the following properties.
Add New:
this.gridDataBoundGrid1.BeginUpdate();
this.gridDataBoundGrid1.Binder.AddNew();
this.gridDataBoundGrid1.EndUpdate();
Cols Moved:
gridDataBoundGrid1.Model.Cols.MoveRange(3,1,1)...
Inserting/deleting Column:
Customize this property while Inserting/deleting the column.
And for column widths to be changed please make use of the QuerycolWidth event.
http://www.syncfusion.com/support/kb/431/How%20do%20I%20resize%20column%20widths%20proportionately%20when%20the%20grid%20is%20resized%20in%20a%20virtual%20grid
likewise you can customize all the above when the property is customized.
Please let me know if you have any concerns.
Regards,
Arun.


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

;