Which way do you submit data to the server?
Really I do not understand?
If you post data via formedit WHAT IS THE PROBLEM
to use afterSubmit when you add and edit Record?
When you post data this way there is server response
right? Then
.navGrid(pager,{…},
{ afterSubmit: function(serverresponse,data){
// catch here the response
Hello,
Not sure if this is the case, but
loadComplete: function() {
// use userdata from jsonReader / get it and depending on the
// condition
if(something_from user_data == true){
ViewModal(“#editmod”+your_grid_id); // ViewModal is separate func
$(“#FormError > td”,”#editmod”+your_grid_id).html(“The message
here”).show();
}
}
Enjoy
Tony
Hello,
onInitializeForm is the right place since it is called only once,
but you should use insertBefore or insertAfter for this purpose.
The input fields in the form are encloused in table, so you may
add additional content
Regards
Tony
Hello,
It is really difficult to me to undersyand what you mean. Sorry.
You can use afterSubmit event for this purpose.
This event accept arbitrary data from serever and depending on it
you can return true(succes) and false again with the message which
is displayed in the form error id.
Regards
Tony
Hello,
I do not answerd of this since I think you will find a more easy solution.
I do not known which version do you use but lets look at jsonReader
and xmlReader.
Hello,
This is nothing to do with the separation of edit and add.
Imagine in this case we should have two editoptions for add and edit
in the colModel, which I think is not applicable.
You can easy implement this using the available events
and setColProp method.
Regards
Tony
Hello,
This feature is discussed many times. All here is based and what you
see in the data. You can look in to the form how to overcome this.
I will think in the future how to connect this with the DB
Regards
Tony
Hello,
It is added and will be in the public beta soon
Regards
Tony
Hello,
It is not so easy in the current implementation,
but not impossible. Anyway I will try to implement this, but not in the
incomming 3.3 release
Regards
Tony
Hello,
Good recomendation and have sence. I will see haw to implement
this recommendation.
Best Regards
Tony
Hello,
Add additinal empty cell to the response:
echo “”;
Hello,
Actually this should be:
id: “absDate” and not id:”Absence Date”,
since you do not have defined Absence Date as name, but as label.
This should work.
Regards
Tony
Hello,
Hello,
You will not need to refer to it, the data come to you and for you
You just need to use it 
Hello,
you should download the latest version for
Download section here (3.2.4)
Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top