Posts Tagged ‘JQuery’
jQGrid with Zend Framework Updated
Recently I had some time to update the fork I have of the jQGrid encapsulation for Zend Framework.
Among the things updated is:
* Support for jQGrid 4.1.
* Support for methods in options.
* 2 new decorators
* New special decorator, a multi select element on grid search.
* Support for advanced search
And many more…
You can locate the code at my GitHub:
If you dont use jQGrid it is an Ajax-enabled JavaScript control that provides solutions for representing and manipulating tabular data on the web.
How to hide a Table Column with jQuery
One of the things I mostly need is a way to hide a table column fron view.
Lastly I have found how to do it with one line on jQuery code and the usage is simple.
$(document).ready(function() {
$('#btnHide').click(function() {
$('td:nth-child(2)').hide();
// if your table has header(th), use this
//$('td:nth-child(2),th:nth-child(2)').hide();
});
});
Thanks for that code to Suprotim Agarwal at DevCurry.com