Hello,
The name of this userdata should equal of the name from colModel.
By Example if your name is defined as
{name:'TPS_TOTAL',index:'TPS_TOTAL', width:90,editable:false},
then the appropriate data should be:
…
$s .= ''.$total_tps_jour.'';
Hope this helps.
Best Regards
Tony
Hello,
Do you have defined a custom_value function?
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules
Also for form editing there is a second parameter for this function (custom_value)
The second parameter can be 'set' or 'get'.
When get the function should return the value, when set the function should set the value. Also in this case there is a third parameter with the value of the element.
Sorry, this is not very good documented.
If you have problems, please post your code in order to help.
Best Regards
Tony
Hello,
Not sure if this is jqGrid problem. How look your JSON response?
Best Regards
Tony
Hello,
Maybe you can do this:
$('#gridtable').jqGrid('getGridParam','url');
Best Regards
Tony
Hello,
What is the error what IE report?
I'm very interested on what id value is (the parameter passed to the events)?
Is the value id
Hello,
Currently this is not possible, but it is a feature which will be added in the next releases.
Best Regard
Tony
Hello,
First your code does the opposite – it makes the row editable. In order to set it not editable your code should do
$(ind1).attr('editable','1');
Second you can use class to make it not editable
$(ind1).addClass('not-editable-row');
Best regards
Tony
Hello Mattijs,
I'm very sorry, but could you please explain this issue simple.
Thanks
Best Regards
Tony
Hello,
Fixed. Best Regards
Tony
Hello,
Before a two weeks we have updated the documentation about dataInit and datepicker:
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:common_rules#editoptions
The resolution of the problem is to use setTimeout something like this:
editable:true, formatter:”date”, editoptions:{ size:12, dataInit:function(el){
setTimeout(function() {$(el).datepicker(); $(el).datepicker(“option”, “dateFormat”, “mm/dd/y”);},300);
}
}, sorttype:”date”, datefmt:”Y-m-d”, searchoptions:{sopt:[“eq”,”ne”,”lt”,”le”,”gt”,”ge”]},
Best Regards
Tony
Hello,
One possible solution is to do resetSelection after restoring the row- which will clear the selection from the the row
…
$(“#grid”).jqGrid('resetSelection');
Best Regards
Tony
Hello,
It works fine if you set the sorttype option in colModel.
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:colmodel_options
Best Regards
Tony
Hello,
I think you should define xmlReader and response so that there is no matter where is the cell.
Please check this
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:retrieving_data#xml_data
from the beginning to the end.
If you configure the xmlReader with repeatitems set to false, then the order of the cells does not take into account
Best Regards
Tony
Hello,
I'm thinking about custom defined sort function. Will see how to do this, but I do not promise if this will be in the next release.
Best Regards
Tony
Hello,
Well – to many questions 
1. Yes it is possible. Just need to read the docs. There is a option called toolbar
http://www.trirand.com/jqgridw…..ki:options
2. Maybe one poosible solution is to use subgrid with your own subGridRowExpanded event, where you can put what you want
http://www.trirand.com/jqgridw…..rid#events
3. What you mean with items themselves? If you have the id's you can have everthing from that row
4. Hello – one possible solution is to use afterInsertRow event.
http://www.trirand.com/jqgridw…..iki:events
To this event we pass the rowdata to, so you can check what is and then use setCell to overwrite the content of this cell
Also please check the NOTE for this event.
Best Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top