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.
In GridDataBoundGrid ,When we add a value to a cell,Is there any way of locating whether the value being added is already displayed in the grid?
This is like a validation which i wanted to do at the grid level.
Is this possible?
ADAdministrator Syncfusion Team May 5, 2003 08:59 AM UTC
You could handle then CurrentCellValidating event. In it, you can use code like:
Dim cc as GridCurrentCell = Me.grid.CurrentCell
Dim newValue as string = cc.Renderer.ControlText
to get the new value. Once you have it, you would need to check whether this value is already in the grid. You could do this by looping through all the cells (or you could try using the GridFindReplaceDialogSink functionailty illustrated in the GridPad sample but looping will get the job done).