MihaMarkic / BlazorDevExtreme

Blazor interop for DevExtreme library
MIT License
30 stars 5 forks source link

Examples #15

Open GeertDeltour opened 5 years ago

GeertDeltour commented 5 years ago

I have added a couple of examples (datagrid, scheduler) to your app. I can submit a pullrequest if you wish.

MihaMarkic commented 5 years ago

@GeertDeltour I've updated the structure of the app and added a dxDataGrid simple sample (contributed by @sven5). Feel free to add more menu items and sample, I'll gladly accept a PR.

sven5 commented 5 years ago

@MihaMarkic I was able to create a simple grid with template column, please see #16. However, you already implemented my simple grid demo. Our changes have overlapped. Maybe you simply extend your demo with a template column.

Edit: It would be also great to see your project on the Blazor Community page.

sven5 commented 5 years ago

@GeertDeltour Currently I'm struggling with saving edited/added datagrid data. Did you already find a solution for this?

I tried to setup a datasource using Web API but the DevExtreme Sample doesn't work because DevExpress.data.AspNet.createStore is missing for Blazor/C# code.

GeertDeltour commented 5 years ago

@sven5, no, I haven't yet tried to update data. Seems to me there needs still some work done to make this possible.

sven5 commented 5 years ago

@GeertDeltour I was succesful in binding the datagrid to a Web API backend with all CRUD operations working. But I had to fix some event handling code, see my issue here. I attached the onContentReady event of the grid to set the data source through a js call.