Hi,
I have editable grid with text and template columns.
I have an Template columnd in kendo Grid. On click of which we open the new window by passsing the Uid of current row.
{
title: 'tst',
template: '<input type="text" class="k-input" id="txt_GridLookup_#=uid#" style="width: 100px;height:18px" value="#=text#" disabled /><input type="hidden" id="hdn_Gridguid_#=uid#" value="#=cavalue#"/><input type="button" name="" text="" class="search" onclick="openWindow(\'#=uid#\');"/>',
sortable: false,
width: 35
},
When user closes the window we set the other column values of current rows as given below.
var item = entityGrid.dataSource.getByUid(selectedLookupUid);
item.set("Columnfield", "Hey");
Everthing is fine. Problem is it resets every thing in data source and removes dirty symbol. We are not able to identify dirty fields.
I want red mark that is shown in every modified cell. The red mark is shown when we modify any cell. Please see attached screen shot of red cell.
Please help.
Thanks!
I have editable grid with text and template columns.
I have an Template columnd in kendo Grid. On click of which we open the new window by passsing the Uid of current row.
{
title: 'tst',
template: '<input type="text" class="k-input" id="txt_GridLookup_#=uid#" style="width: 100px;height:18px" value="#=text#" disabled /><input type="hidden" id="hdn_Gridguid_#=uid#" value="#=cavalue#"/><input type="button" name="" text="" class="search" onclick="openWindow(\'#=uid#\');"/>',
sortable: false,
width: 35
},
When user closes the window we set the other column values of current rows as given below.
var item = entityGrid.dataSource.getByUid(selectedLookupUid);
item.set("Columnfield", "Hey");
Everthing is fine. Problem is it resets every thing in data source and removes dirty symbol. We are not able to identify dirty fields.
I want red mark that is shown in every modified cell. The red mark is shown when we modify any cell. Please see attached screen shot of red cell.
Please help.
Thanks!