Open sven5 opened 6 years ago
Will look into it
I was able to workaround this.
I created a column in the datasource with html markup that contains my template. When setting the encodeHtml
property of DevExpress.Ui.DxDataGridColumn
to false the template markup shows up correctly.
Nevertheless it would be great to have the parameter support for the widget event handlers.
Regards Sven
After poking a bit I see that this might be tricky to properly implement. The reason is that many arguments aren't compatible with Blazor/WebAssembly. Only atomic types such as numbers and strings are allowed. One way would be to ignore complex elements and pass only those that can be passed.
For the time being I'll add it to milestone 0.7
Hi Miha,
I was successful in creating a Datagrid bound to simple object data. The grid works with filtering and paging. However, I need a custom cell and the possibility to customize cell templates and contents. What I've seen so far: using the cellTemplate property of DxDataDataGRidColumn only accepts string text and no dynamic content. The cellPrepared event doesn't get any parameters from js, would it be possible to pass the params to .NET?
Regards Sven