I have a kendo grid on a page that displays some data. I have the column menu enabled so that certain columns can be hidden by the user if they choose. I also have multiple cell selection enabled so that the user can select a range of cells. Using the "change" event on the grid and the "this.select()" method, I look to see if the user has selected cells from a particular column. If so, I do some basic math using the selected cell values which are then displayed using a kendo window next to the selected cells.
This all works great when none of the columns in the grid are hidden. However, once one of the columns is hidden (either set that way when the grid is initialized or hidden using the column menu), the multiple cell selection function stops working or works very, very slow. With a column hidden (any column), often when I try to select a range of cells, all of the cells in the entire table jog over to the left, the screen hangs for 30 seconds to 2 minutes minutes and when my selection is finally displayed it often doesn't include the cells I actually selected or, if it does, it also includes cells from additional columns and/or rows.
I am attaching a sample project so you can see this in action. In my actual project, I am getting the data from a remote source, but for this demo, I have just put the data I am using into a JavaScript array. As far as I can tell, the only difference between the working and the non working version is the fact that a column on the grid is hidden.
There are several columns in the grid. The attached project doesn't include my style sheets so on smaller screens, the column titles are cut off. The column where I am doing the calculations is POQty, but you can still see the effect when selecting multiple cells in another column too. Also, the greater the range of cells selected after a column is hidden, the more pronounced the effect.
This all works great when none of the columns in the grid are hidden. However, once one of the columns is hidden (either set that way when the grid is initialized or hidden using the column menu), the multiple cell selection function stops working or works very, very slow. With a column hidden (any column), often when I try to select a range of cells, all of the cells in the entire table jog over to the left, the screen hangs for 30 seconds to 2 minutes minutes and when my selection is finally displayed it often doesn't include the cells I actually selected or, if it does, it also includes cells from additional columns and/or rows.
I am attaching a sample project so you can see this in action. In my actual project, I am getting the data from a remote source, but for this demo, I have just put the data I am using into a JavaScript array. As far as I can tell, the only difference between the working and the non working version is the fact that a column on the grid is hidden.
There are several columns in the grid. The attached project doesn't include my style sheets so on smaller screens, the column titles are cut off. The column where I am doing the calculations is POQty, but you can still see the effect when selecting multiple cells in another column too. Also, the greater the range of cells selected after a column is hidden, the more pronounced the effect.