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. Image for the cookie policy date
close icon

How to add property to GDBG?

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.


1 Reply

AK Arun Kumar V Syncfusion Team 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.


Loader.
Live Chat Icon For mobile
Up arrow icon