I'm trying to use Kendo grid with tag helpers, documentation you have right now is pretty much useless for my problems. I have a really simple Kendo grid, and I'm trying to create functions for create, edit, and delete buttons.
1. openCreateWindow, openEditWindow and openDeleteWindow - How to pass an Id (in my example LanguageId)?
2. openCreateWindow - Click event doesn't work at all inside toolbar (toolbar-button), what to do?
With these functions I will call server side actions to create separate popup editors with different fields and terms using Kendo Window and Ajax forms, and I have pretty much strong reasons why I need something like this.
...
<columns>
<column field="LanguageId" width="240" hidden="true"/>
<column field="Name"/>
<column field="Culture"/>
<column width="100">
<commands>
<column-command name="edit" text="Edit" click="openEditWindow(LanguageId?)"></column-command>
</commands>
</column>
<column width="100">
<commands>
<column-command name="delete" text="Delete" click="openDeleteWindow(LanguageId?)"></column-command>
</commands>
</column>
</columns>
<toolbar>
<toolbar-button name="custom" text="Add new record" click="openCreateWindow(LanguageId?)"></toolbar-button>
</toolbar>
...
I'm looking forward to hearing from you.
Kind regards,
Asmir M.