This is a follow-up to the topic “2 Problems with validation dialogs”. This time, there's a problem with the way jqGrid positions the info_dialog.
The scenario: I have 2 grids on the same page (basically a master/detail grid scenario), and I'm doing an inline edit on row #4 of grid #2. Now, when that row has a validation error, the info_dialog is displayed on top of row #4 of grid #1 (instead of on grid #2).
The solution is easy, though. I found which line to change in the file grid.inlinedit.js…
The ff. line:
|
1 2 3 |
<div class="sfcode"><span style=""""color:"""><br /> if (cv[0] === false){ // line #143, under the saveRow function<br /> <br /></span></div> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top