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 it possible to have a data source where the column type is any obitary object (say a custom collection etc.etc) and then have a custom cell renderer which uses the CellValue value during OnDraw to draw the custom object?
ADAdministrator Syncfusion Team December 10, 2003 12:03 AM UTC
Yes, that should be possible.
Check out the Samples\CellTypes\ComboboxCells sample for example. There you can find a DataRowView being stored as cell value and one of its the DataRowViews fields being displayed within the cell.
Stefan
IOIOMSDecember 10, 2003 12:51 AM UTC
Thanks for the quick reply but....
That sample uses the non-bound grid and looks very complicated.
------
Here is a sample app which shows the problem and exactly what I'm trying to do.
The CellValueType says it's an ArrayList which is correct but the CellValue just return a blank string!
ADAdministrator Syncfusion Team December 10, 2003 07:15 AM UTC
Try using
tbl.Columns.Add("col", typeof(object));
//....
row["col"] = new ArrayList();
instead of
tbl.Columns.Add("col", typeof(ArrayList));
//...
row["col"] = new ArrayList();