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.
is there anyway to set the binding of a column or cell similar to a System.Windows.Forms.Binding?
I use the following code to format data from a dataview to a textbox. Is it possible to do a something similar to a cell in the gridControl?
IE
Binding col1Binding = new Binding("Column1",this.catalogDataSet1.Tables["Table1"].DefaultView, "Column1");
col1Binding.Format += new ConvertEventHandler(column1_Format);
col1Binding.Parse +=new ConvertEventHandler(column1_Parse);
textBox1.DataBindings.Add( col1Binding );
GridControl.Column["xyz"].DataBindings.Add( col1Binding )
Thanks,
Jonathan
ADAdministrator Syncfusion Team November 7, 2003 08:49 PM UTC
Check out the SaveCellFormattedText and QueryCellFormattedText events. Maybe also SaveCellText and QueryCellText.
These events are called to convert the cells value into the string to be displayed in te cell and vice versa.
Stefan