Hello,
1) One possible reason is that you do not have uniquie id for the
rows. If we have rows which id's equal the grid selection will not work
correctly.
2) It is goo to see docs.
Hello,
Does this mean that you use treegrid with celledit?
I will look at this, since it seems to be very usefull.
Regards
Tony
Hello,
Thanks. Will be corrected.
Regards
Tony
Hello,
You have posted this in one other post.
Regards
Tony
Hello,
onInitializeForm: function(formid) {
$ (”#tgl”,formid) .datepicker ({
dateFormat:”dd-mm-yy”,showOn:’focus’}) ;
}
Regards
Hello Barry,
One possible solution is to use the events available in autocomplete –
i.e. if the value is selected – get the id and set it to the grid using
setRowData method. I reccomend you to use aftersavefunc for this
purpose.
Best Regads
Tony
Hello,
You try to attach a datepicker to nonexisting element.
When the edit form is created the elements have the id taken from
colModel name – so if the name (and not the index – index is used
to perform sorting server side) is tgl then the id in form have the same
value – with other words to work this you should
$(”#tgl”).datepicker({…}) and not $(”#tgl_kontrak”).datepicker({..})
Regards
Tony
Hello,
you try to attch a change event to nonexisting element with
id=optContexte. Did you see element with id=optContexte?
I do not see this element, only name which is not id.
Regards
Tony
Hello,
Did you read all the available methods?
How about to use
dataid = $(“grid”).getDataIDs()
// as of the docs
//array of the id's in the current grid view. Empty array if no data is available.
Then why not loop throght this array using getRowData
Regards
Tony
Hello,
The alternative in this way is to use xmlstring.
Read the docs
Tony
Hello
How about this:
$(”#selector”).change(function(){
Hello,
If you do this as local file, this will not work in IE. Also there are a lot
of messages regarding this in jquery google grup.
To work this in IE you should use web server.
Regards
Tony
Hello,
One possible solution is to construct the grid after the database request.
With other words you can have ajax wich obtain colNames and colModel
from database and pass it to jqGrid.
Also the next major release will have a method to construct grid dynamically from xml or json data. See roadmap.
Regards
Tony
Hello,
Here is the error:
You have
rowdata = jQuery(”#pagersg11″).getRowData(row_id);
should be
rowdata = jQuery(”#listsg11″).getRowData(row_id);
The method should be applied to grid, not to pager
Regards
Tony
Open the file that contain JSON.stringify function. Usuallly its name is
json.js. Just find stringify function and at end of this function add these
lines.
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top