I would suggest read the documentation. Infact, most of the examples are in PHP-MySQL.
Hi Rivven,
Have a look at this forum post –
Could be a workaround if you are doing everything right and this is a bug.
Is this happening when you do drag & drop of rows within table?
Hi Rivven,
Have a look at this forum post –
Could be a workaround if you are doing everything right and this is a bug.
Is this happening when you do drag & drop of rows within table?
May be this is what you are looking for:
http://www.trirand.com/blog/?page_id=18/bugs/setgridparam-problem/page-1
The updateColumns() needs to be used like that off below:
var mygrid= jQuery(”#list”)[0];
mygrid.updateColumns();
-Praveen
Did you try the “loader” or the source code from GitHub?
I had issues when using the “loader” files, but things work fine with the source code.
Found the id. of the buttons using Firebug – great tool !
'Add ' button is “add_list”
'Edit' button is “edit_list”
'Del' button is “del_list”
To hide the buttons one can do this:
In the recent 3.5.beta release there is a new method called:
jQuery(”#mygrid”).updateColumns();
which I believe will sort this issue, if I am right in my understanding.
Need to confirm with Tony.
But when I try to use this method in “gridComplete” event like that of the below:
Thanks for your response!
I tried the suggestion, which is I believe commenting off the below line of code in the “ui.grid.css”
.ui-jqgrid .ui-jqgrid-btable {table-layout:fixed;}
The drag and drop seems to be fine, but unfortunately the grid column rendering is not in line with the header, even after commenting off the below line in the same CSS file:
.ui-jqgrid .ui-jqgrid-htable {table-layout:fixed;}
-Praveen
That worked, Tony. No excuses on missing this simple one!
Regards,
Praveen
Hi,
I am using the standard Add/Edit/Delete button with the navigator. What is the id. of these buttons?
-Praveen
Thanks Tony, will try it out.
-Praveen
That is wonderful!
akremedy said:
Hi Praveen, do want to change it permanently/globally, as in grid.locale-.js?
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top