Hi,
I were trying the following things in the kendo grid and facing some issues,
1. Grid Tabbing
Tabbing is working when there is no calculations are done on text changes. For example, if there are two fixed rows and first row is editable. If we change the data in the first row that should do a calculation and get updated in the second row. So for that purpose I use onCellChange event and i do the following in that
var grid = $('#gridtest').data("kendoGrid");
var Row0 = grid.dataSource.data()[0];
var Row1 = grid.dataSource.data()[1];
Row1.set("Total",Math.round(Row0.get("Total")*100));
These statement works and sets the value to the cell, but it is not visible until I focus to the cell. To rectify this problem i used
grid.refresh();
This solves the issue, but it raises an another problem that i am unable to navigate to the next cell when i press tab. Due to this refresh the focus goes to first column. I need a solution for either to navigate to next cell when using grid.refresh() in oncellchange event or to display the cell when the value is set using model.
2. Dropdown Column
I have a dropdown column in the same grid where the model for that column has integer and i am unable to show the name in the cell instead of value.
I have attached a sample project with this and i have removed the packages folder in the attached project due to huge size, so please help me in this issue.
Thanks
Senthil
I were trying the following things in the kendo grid and facing some issues,
1. Grid Tabbing
Tabbing is working when there is no calculations are done on text changes. For example, if there are two fixed rows and first row is editable. If we change the data in the first row that should do a calculation and get updated in the second row. So for that purpose I use onCellChange event and i do the following in that
var grid = $('#gridtest').data("kendoGrid");
var Row0 = grid.dataSource.data()[0];
var Row1 = grid.dataSource.data()[1];
Row1.set("Total",Math.round(Row0.get("Total")*100));
These statement works and sets the value to the cell, but it is not visible until I focus to the cell. To rectify this problem i used
grid.refresh();
This solves the issue, but it raises an another problem that i am unable to navigate to the next cell when i press tab. Due to this refresh the focus goes to first column. I need a solution for either to navigate to next cell when using grid.refresh() in oncellchange event or to display the cell when the value is set using model.
2. Dropdown Column
I have a dropdown column in the same grid where the model for that column has integer and i am unable to show the name in the cell instead of value.
I have attached a sample project with this and i have removed the packages folder in the attached project due to huge size, so please help me in this issue.
Thanks
Senthil