Archive for January 15, 2010
*sighs* Refactoring a RIA application (again) to make it work for IE.
0Ran into this one for example:
“The onchange event can be attached (inline or as an event handler) to any form element. It fires whenever the value of the form field changes. Unfortunately, the behavior is a bit strange in IE, in that for a checkbox, or a radio button field, the event doesn’t fire when it is supposed to (right when you click the option you want to choose), but instead it only fires, when you click elsewhere on the page/form, or if you explicitly call blur(); on the field.”
http://norman.walsh.name/2009/03/24/jQueryIE
Also got some styling issues with the jqGrid, and no, that’s NOT a **** up by jqGrid. It’s IE failing on proper CSS support, AGAIN.
Why do I even bother to make it fit for such a PATHETIC browser which is probably NEVER getting better.
I also yanked out the jQuery LiveQuery plug-in which should have increased performance instead of making it slower ?!?
Didn’t notice that in other browsers.
Toggle visibility jqGrid from outside the grid.
0The only way I found working:
// Hide the grid when it is visible.
if ( $('#yourtableid).getGridParam('gridstate') == 'visible') {
$('#gview_yourtableid a.ui-jqgrid-titlebar-close.HeaderButton').trigger('click');
}
Any other thoughts on this are more than welcome!
Couldn’t find a jqGrid function to do it “properly” from outside the grid.
Setting the gridstate and refreshing didn’t work ?!?
Having fun in Lazytown.
0My nickname is RebootGPF and no, that’s not my voice being frustrated :)