Hello,
Sorry do not understand exact what you want.
Try to use onCellSelect event something like
onCellSelect : function(rowid, iCol, content, e ) {
if(iCol == 2 ) // This is the index of the column in colModel
{
// call here you javascript function
….
}
}
Regards
Tony
Hello,
Yes this is partial true. The CheckDate function accepts /,-,and . as separators.
You can write your own validator. See docs.
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules#editrules
Regards
Tony
Hello,
Thanks.
Maybe you should use a formatter link or better showLink where you can set the link for the desired page again with the
parameters what you want.
More you can find here:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter#predefined_format_types
Please let me know if this is applicable for you.
Best Regards
Tony
Hello,
JavaScript uses 1970 as point for all calculations of the dates.
Create your own custom formattter to do what you want.
Regards
Tony
Hello,
What does not work?
In the future I will not answer on such posts
Hello,
Yes it is possible. One possible solution – set reloadAfterSubmit to false.
After you create the new row – instruct the server to return the new created id
then you can use afterSubmit event
Hello,
This will not work.
In root element you can not set a dot notations – i.e root:”t1.p” will not work
Try to set the root to “match” item
Hello,
Use the formatCell event with setColProp method to set the new dataUrl. This event fire before reading the colModel and editing the cell
Regards
Tony
Hello,
What you mean with
“Is their any way other than selecting all the tr by id and changing the html ?”
If you want a custom form , you can construct your own and the use FormToGrid and GridToForm methods,
but I do not understand.
Reagrds
Tony
Hello,
There is ready for this situation solution.
One possible solution is to write your own custom pop up cell editor and the just use getCell and setCell to get and save the new content.
Regards
Hello,
After calling the tableToGrid do something like this:
$(”#” + myid).jqGrid('setColProp','mycoulmname',{sorttype:'int'});
// can be numeric, date and etc. see docs
Best Regards
Tony
Hello,
When you include the file, this is typically from some other place. Check if the paths in this case are correct.
Regards
Tony
Hello,
This is very strange. Also do you see in FireBug if the parameters are passed?
How do you obtain the reported data – from get or from post array.
If you use postData to send parameters, does this work.
$(”#list6″).jqGrid('setGridParam',{postData:{report_date_from:report_date_from,report_date_to:report_date_to}})
…
Regards
Tony
Hello,
For the first grid you have moved the viewrecords to left.
Do you have set the position of the navbuttons to right?
Best Regards
Tony
Hello,
Read this docs. You can do this.
Best Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top