jQuery jqGrid Slow to Respond when Clicking Cells or Rows

January 31st, 2011 - Posted by Steve Marks to (X)HTML / CSS, Javascript / jQuery, Web Development.

After recently getting stuck into the jQuery grid plugin jqGrid by Tony Tomov and getting a hold on the core functionality, something that came to light relatively quickly was the responsiveness (or lack of) when performing actions on grid events such as ‘onCellSelect’. More than a second pause could generally be expected before the target function was executed.

After a bit of digging around it seemed to be the result of using jQuery UI 1.7+ and one line inparticular within the CSS:

.ui-widget :active { outline: none; }

After removing the above line from the jQuery UI CSS the delay when clicking within jqGrid was instantly removed.

Tags: , ,
This entry was posted on Monday, January 31st, 2011 at 9:54 pm by +Steve Marks and is filed under (X)HTML / CSS, Javascript / jQuery, Web Development. You can follow any responses to this entry through the RSS 2.0 feed.

Fear not, we won't publish this

Comments (0)

No comments have been left yet. Be the first