The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
How can I ignore this flag when it comes via the col width property? I want to consider a col width/ row height adjustment as mothing more then just that...I will not be presisting this information.
HAhaneefm Syncfusion Team October 8, 2007 10:54 PM UTC
Hi Aaron,
How can I ignore this flag when it comes via the col width property? >>>>>>>>>>>>>>>>>>>>>>>> You can handle the ColWidhtChanging event of the grid and set the Modified property to false. Below are the codes:
public Form1() { InitializeComponent(); this.gridControl1.ColWidthsChanging += new GridRowColSizeChangingEventHandler(gridControl1_ColWidthsChanging); this.gridControl1.RowHeightsChanging += new GridRowColSizeChangingEventHandler(gridControl1_RowHeightsChanging); } void gridControl1_ColWidthsChanging(object sender, GridRowColSizeChangingEventArgs e) { GridControl _grid = sender as GridControl; _grid.Modified = false; } void gridControl1_RowHeightsChanging(object sender, GridRowColSizeChangingEventArgs e) { GridControl _grid = sender as GridControl; _grid.Modified = false; }