Hello,
Maybe you can define ajaxStart event in ajaxGridOptions and then you will know that there is ajax available
Best Regards
Tony
Hello,
Can you reproduce this behaviour in the demo? In demo we use 3.6.2.
Best Regards
Tony
Hello,
Check to see if you install everthing.
In order to reproduce, could you please share your code or provide a link to the problem?
Best Regards
Tony
Hello,
Could you please send a link to the problem or put a test case?
Regards
Tony
Hello,
afterSubmit : function (resp, postdata)
{
// you should return from server OK in sucess, any other message on error
if(resp.responseText == “OK”)
{
alert(“Update is succefully”)
return [true,””,””]
}
else {
alert(“Update failed”)
return [true,””,””]
}
}
Hello,
How do you create the checkbox? – manually using the formatter or you just set multiselect to true?
Regards
Tony
Hello,
Look here carefully
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing#editgridrow
What about beforeSubmit event
Regards
Tony
Hello,
Please set a edittype to image, and be a sure that you have a avalid src set.
Also to bind a click use dataEvents.
For me everthing works ok. The thin momemnt here is the src attribute which should point to a valid image.
Regards
Tony
Hello,
Could you please give a link to the problem?
Best Regards
Tony
Hello,
I wonder how this can be possible automatically from the grid.
Let investigate what you want (if I understand right) and what is actually.
The first thing that you have not forget is that the grid is client side representation.
And now you select some rows at the client, then you click page next button.
What is happen? – the data from grid is cleared expecting the new one from server – right?
Clearing the data from grid of course we clear the selected rows.
In order to achive this you should remember the page and the selected rows in array and use a lot of grid events to restore them
(onPaging, onSortCol, gridComplete)
Best Regards
Tony
Hello,
The reason that is not answerd is that this requirmend is discussed many times here and you can find them using the search button.
Any way you can use afterInsertRow event (do not forget to set gridview mode to false in this case)
You can find more about this event here:
http://www.trirand.com/jqgridw…..iki:events
Regards
Tony
Hello,
I'm not sure what you use – inline editing or cell editing – there is a difference.
Anyway you can set async:false for the dataUrl – this is done with ajaxSelectOptions
This can be set in the grid options
Best Regards
Tony
Hello,
Another solution is to point to a dummy existing editurl
Hello,
Sorry not understand?
Refer here what you have for subgrids
http://www.trirand.com/jqgridwiki/doku.php?id=wiki:subgrid#events
Regards
Tony
Hello,
navButtonAdd – add a button in the pager. If you do so every time a button will be added in the pager.
My suggestion is: add the button when you initialize the grid and the show/hide them when you edit/save the row
$(”#mygrid”).jqGrid({
..
});
$(”#mygrid”).jqGrid('navButtonAdd','#pager',{id:'mysaveid',…});
$(”#mysaveid”).hide();
and then in beforeSelectRow just to show the button and after saving to hide them again.
Best Regards
Tony
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top