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.
Hi
I'm creating a master detail form using the Essential grid for displaying the Details part.
My requirement is to show the data relative to the data in the master part.
How do i change the data in the grid whenever the data in the master part changes.
Also it is possible to bind the text box control to a field in the data set, can the same be achieved for a column in the grid?
Regards
Ashish
ADAdministrator Syncfusion Team May 13, 2003 07:09 AM UTC
Attached is a sample that shows 3 grids used in a master-detail-subdetail manner.
You can still bind a textbox to a field in a datatable, and if that datatable is also bound to a griddataboundgrid, then the textbox will be bound to the grid column as well. This is true as long as the two controls have the same binding context. This will happen naturally if both the textbox and grid are on the form. But if the grid is in a panel, or groupbox or some other container, then you have to set the grid's BindingContext member equal to the form's BindingContext member.
this.gridDataBoundGrid.BindingContext = this.BindingContext; //set the grid's BC to the form's BC