I am upgrading from ultrawebgrid to webdatagrid , and i need ti know what is the equivalent of UltraGridCell in WDG
UltraGridCell cell = new UltraGridCell(); cell.Value ="ABD";
row.Cells.Add(cell);
Thanks , so i will work on the datasource directly and bind it to my grid .
How ever do you know if there is a substitute for the below Displaylayout and Bands in webdatagrid , how do i achieve this in codebehind?
string name= this.RoutesGrid.DisplayLayout.SelectedRows[0].Cells.FromKey("Name").ToString();
this.BatchStatusGrid.Bands[0].Columns[0].Header.Caption ="abc";
Hello Sreevani,
Thank you for posting in our community.
WebDataGrid control has a different architecture than its predecessor UltraWebGrid. It is a DataBound control, which means that it displays the records returned from the data source.
Basically, cells and rows could not be added directly to the WebDataGrid. Alternatively, you could add them straight to the data source and rebind the grid. Some further reference about WebDataGrid`s data binding, supported data sources etc. could be found at:
http://help.infragistics.com/doc/ASPNET/2014.1/CLR4.0/?page=WebDataGrid_Supported_Data_Sources.html
Please feel free to contact me if you have any additional questions regarding this matter.