May be you should to look the DEMO http://trirand.com/blog/jqgrid/jqgrid.html .
make a try :
1ã€do not load other js file to check js conflict ( i also use jquery.blockUI.js ,no conflict )
2〠cut off some jqgrid init code such as 'ondblClickRow' to test
3〠update to jquery v1.43, may be jquery.UI also need to update to v1.8x
tony said:
For the column headers and other duplicate ids we can fix these, but the big questions is what to do with the rows ids?
Example: I have a table with primary keys 1,2,3.. and another table with the same primary keys numbering due of using the autoincremet property and I want to use these keys when I do CRUD operations.
In the same time I need to display both grids in one page – so the question is: how we can make these rows uniquie and in the same time to use the primary keys value
Hello Tony,
In my option, i should make it by this way:
use grid-container-id (eg. 'treegrid') as prefix of rows ids (eg. 'treegrid_1/treegrid_2/treegrid_3'). when CRUD then substr the prefix — this action can be done by client side before starting post, or by server side after receive the post data (must post the prefix
thanks OlegK
IE dont support the last elm end with comma (,) in Array
Thanks. It's solved by use setTimeout , and some time useful for
Hello tony,
text-cell autosearching works with:
myGrid.jqGrid('filterToolbar', {searchOnEnter : true}); or
myGrid.jqGrid('filterToolbar', {});
select-cell autosearching not works yet with:
Hi tony,
It not work with:
Hello tony,
when set to autoencode:true, i change title to “a“
database:
CREATE TABLE
tb_sort2(
i use PEAR:MDB2 for db connect
manage_column_aj.php:
function make_treecolum($db) {
here's mine,enjoy.
test.js:
var gridimgpath = '../css/theme/redmond/images';
$(document).ready(function(){
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top