Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Grid Aggregates in Batch Mode

$
0
0

That worked like a charm for making the aggregates recalculate but after putting in the e.sender.refresh() the grid cell looses focus.  The user would have to pick up the mouse and position it on the next cell after every edit.  This isn't feasible either.  I've been trying to figure out how to determine what cell has focus before the save event is triggered and then after calling the refresh set focus back on that cell or the next cell since most likely what triggered the save is the user tabbing to the next cell.  This is what I've tried:

var cell = $(this).closest("td");

var colIdx = grid.cellIndex(cell);

As I put watch points in the client script and step through the colIdx is always returning -1 regardless of what cell had focus.


Viewing all articles
Browse latest Browse all 99250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>