Hi,
i have a problem with passing value with k-on-save event.
this is the html code:
<div kendo-grid
id="LineGrid"
k-data-source="lineCtrl.linesList"
k-editable="'inline'"
k-selectable="'single'"
k-on-save="lineCtrl.OnSaveEventHandler(e)"
k-toolbar="['create']"
k-sortable="true"
k-scrollable="false"
k-filterable="true"
k-pageable="{ 'refresh': false, 'pageSizes': true }"
k-columns="lineCtrl.LineDataSourceColumns"
kx-selected-item="lineCtrl.CurrentLine"
kx-instance="lineCtrl.LineGrid"
class="bm_grid">
</div>
this is the function OnSaveEventHandler:
public OnSaveEventHandler(e)
{
alert("OnSaveEvent: " + e);
}
when i click on the update button, the alert show "OnSaveEvent: undefined".
i want to pass the value to the function
how can i solve it?