jqgrid
How to make Jqgrid frozen column word-wrap
Starting with version 4.3.2 jqGrid supports Events which allows to register multiple callbacks (event handler). Old internal callbacks like _complete were removed. Instead of the line in the demo $grid[0].p._complete.call($grid[0]); you can use now $grid.triggerHandler(“jqGridAfterGridComplete”); UPDATED: The current version of jqGrid have a bug in the line. It will be used this instead of ts: … Read more
jqGrid treeGrid catch expand collaps events
There are currently no event or callback in the jqGrid which could help you to catch collapsing or expanding of the tree nodes. In general the code which you posted do correct tests. Nevertheless you self are not full satisfied by the solution. I find it also not so good. The most problem which I … Read more
How to disable editing for some cells in row editing of JQGrid?
If you use inline editing mode and want to decide dynamically which cells of the row will be editable for example based on the contain of the cells you can do this in the way which I described here. You can do this with another method also: $(this).jqGrid(‘setColProp’, ‘YouColumnName’, {editable:false}); So you should just set … Read more
Is it possible to bind multiple event handlers to JqGrid events without overwriting previous ones?
I think you ask about an important problem existing in the current version of jqGrid. It’s difficult to implement more as one event handler in jqGrid now. The problem is not important for small projects where you use jqGrid, but can be important in case that you want construct some classes which interprets jqGrid. Your … Read more
Correctly calling setGridWidth on a jqGrid inside a jQueryUI Dialog
There are some cases, where jqGrid calculate the width a little incorrect. Mostly I have problems with grid width, but in some cases on IE6 also with the height. So I have to write a small function to fix the problem. var fixGridWidth = function (grid) { var gviewScrollWidth = grid[0].parentNode.parentNode.parentNode.scrollWidth; var mainWidth = jQuery(‘#main’).width(); … Read more
In JQGrid, Is it possible to use different formatter on grouping summary cell other than column formatter?
I found your question very interesting, because I didn’t known the answer immediately. Now I found time to reread the source code of the grouping module of jqGrid and create an example which you need. First of all I prepared the demo which display the following results: How you can see the summary row has … Read more
Real-time data in a grid – better method
I find your question very interesting. I think the question could be interesting for many other users. So +1 from me. The usage of setInterval seams me the best way in common browser independent case. One should of cause save the result of setInterval in a variable to be able to use clearInterval to stop … Read more
jqGrid implementing of custom cell: integration of raty-plugin
About the edittype:custom option I recommend you to read this and this old answers. It is important to use recreateForm:true setting to make custom edit functions custom_element and custom_value be called not ony once. You don’t include any code in your question. Your description of the problem allows different interpretations how you implemented what you … Read more
Local form editing demo and jqGrid 4.4.1
The main problem in the usage of my old demo from the old answer is in the line of code this.processing = true; jqGrid initializes now this to the DOM element of the table ($(“#list”)[0]) in calls of the most callback functions. So the above line have to be fixed to options.processing = true; There … Read more