I've found a weird bug. Only occurs in IE (to my knowledge), all versions. I have been unable to debug it in IE so can't tell whether it's a jquery or a jqgrid bug. Create a grid on a dialog with enough data that it needs to scroll (I have an example but don't see any way to attach it). Add this javascript into the source:
|
1 2 3 4 5 6 7 8 9 |
<div class="sfcode"><br /> <script type="text/javascript"><br /> $(function() {<br /> $( document ).tooltip({ content: function() {<br /> return $(this).attr("title");<br /> }});<br /> });<br /> </script><br /> </div> |
A grid on the main page works fine. For the grid in the dialog, you can select an item on the list but if you scroll the list, even just one item, attempting to select an item scrolls back to the top of the list without selecting the item.
This function seems to be similar to what jquery is doing by default but by default, it doesn't format the results. With this function, the tooltip is formatted. Without this function, the grid works just fine.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top