darilek / dotvvm-devextreme

DevExpress DevExtreme widget wrappers for DotVVM framework
MIT License
3 stars 0 forks source link

DevExtreme DataGrid Example missing. #1

Open GiuseppeMarraffa opened 6 years ago

GiuseppeMarraffa commented 6 years ago

Hello Martin, do you also have an example for DevExtreme DataGrid? I saw your examples for other controls, we are trying to integrate with the same pattern the DevExtreme DataGrid, and its a bit difficult. If you have any solution or suggestion I would appriciate. Our idea is to map every Event of the DevExtreme DataGrid to the ViewModel, via your pattern (within DotVVM obviously)! Thank you very much.

Kind Regards, Giuseppe

darilek commented 6 years ago

I'm sorry, I did some investigations for DevExtreme DataGrid, but it seems to be very complex control, especially for DataSources definitions (compatible with DotVVM idea) and Column/Edit templates. So for now I do not have any working example.

Also my time is currently a bit limited, so I did not any code update a longer time. And DevExtreme sources in this project are outdated and needs upgrade.

If You want participate on this project, You are welcome :-)

GiuseppeMarraffa commented 6 years ago

Hello Martin,

I apologies for the late answer! I am very busy too! I do completely understand you! So, what I did, is that I am following your approch on how to wrap the DevExtrem Controls and be able to bind them easaly within DotVVM! I am actually doing this for our porject and I had to create our own CompanyGrid (DevExtreme DataGrid)! i created a Grid in C# like your other controls and I also was able to add nested controls and I am able to catch the events of the nested controls and bind them directly to the ViewModel! Its only 1 C# MyCompanyGrid.cs Class and 1 MyCompanyGrid.js! Once I reach a stable point I will send you the source code and you can added (by making some little changes) into this porject if you wish! I cannot update this project directly because I am very busy and our client needs a working solution! Nevertheless I will be very glad to share my outcome, and you can then integrate it!

Regards, Giuseppe

darilek commented 6 years ago

Hello, I look forward for any example :-) BTW: which version of DevExtreme components are You using?