Is it possible to add jQuery UI spinner on jqgrid table column ?
I have a jqgrid table with more than 7000+ records, I am want to apply spinner on one column. Does jqgrid allow to do this?
Thanks in advance!
Is it possible to add jQuery UI spinner on jqgrid table column ?
I have a jqgrid table with more than 7000+ records, I am want to apply spinner on one column. Does jqgrid allow to do this?
Thanks in advance!
Yes, there are a number of ways.
You can either pass the html as the cell data, so instead of just a number pass something like (not the best way):
<input class="spinner" name="value">
after the grid has loaded use:
your_jqgrid.gridComplete(function(){$(".spinner")..spinner();
Better yet, you could also set up a formatter for the column and do everything in one go there.