For those who are looking for the/one solution:
afterInsertRow: function(rowid, aData, rowelem){
No effect, neither
jQuery(”#tr_nom″, formid).css({'background-color':'red'});
I don't understand sorry 
xml node for a json encoded answer : what is it ?
PHP side: what can I use for sending a message to the client: echo “hello” and read with xhr.responseText OR json_encode ?
Why value” ? wrong html for you ?
I also use this method
setInterval(function(){jQuery(”#list1″).trigger(”reloadGrid”);}, 5000);
but I “see” the refresh, I mean the grid is flashing at each refresh. Normally with ajax I should not see this “flash”.
Did you set an appropriated property ?
Did you generate correctly your package before downloading ?
Yes, put this value to zero.
For me, after that, I have an horizontal scrollbar 
I found myself:
“value1:value1;value2:value2;value3:value3″
but in my select I see
value1
value2
value3″
I look for the data like this:
var manufacturers= $.ajax(
Is Loaderror compatible with json_encode ? I don't think so.
If the server is written in PHP, I cannot use the echo function for signalling an error ?
yes, I was blind.
The cell of the grid has the background in red (I don't want that) and the cell in the form has not the background in red (I want that). I tried rowid instead of gr but it's
Yeah !!!
One time in the navigator (add):
…
recreateForm:true,
beforeInitData: function (formid){jQuery(“#list1”).setColProp('nom', {editoptions:{readonly:false}}); } ,
…
One time in the Grid:
jQuery(“#list1”).editGridRow(gr,
{
…
recreateForm:true,
beforeInitData: function (formid){jQuery(“#list1”).setColProp('nom', {editoptions:{readonly:true}});
When you say onBeforeInit you mean beforeInitData …
This event occurs when I click the + but not when I click on the row !
For the time beeing I don't see how to change (to address) one of the proprietes of one raw: colModel.index or something like that ?
I think that my question is not well formulated or I didn't understand your answer.
(for set/clear attribute: ok)
I have a grid. When I click on one row, a form is displayed for modification/edit. In this case I protect one field with “readonly” as you suggested. I can change all fields excepted this one.
In the pager, I use the “+” for the creation. When I click on it, the same form is displayed BUT, in this case, I want to edit the field.
but it's impossible because of the “readonly” !
That's why I asked if we can have two forms !
I replied too quickly …
because now I cannot create a record …
In fact I must have two forms: one for the creation and one for the edition/modification.
Is it possible to have different forms ?
YES ! very good.
Now I must change the color in the form because I don't see the difference with the other fields.
Thank you.
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top