Para refrescar no lo se pero para cuando pulsas <> en la paginacion parece que el evento que lo captura es 'onclickPgButtons'. Mira m
Hi, at the end, the event i need was 'errorTextFormat' to catch the response message but how? I will explain my solution for adding an item to my table:
jQuery (client)
Seems like I should use the afterSubmit form event. The documentation is here for other people who was interesting in: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:form_editing
I'll try to solve my problem and post it here
I have resolved the problem by using firebug.
$(“#dependences”) works fine xDDDDDD oh my god, one hour lost with this !!
thanks to show me the path 😉
OlegK said:
Hello!
You can use Developer Tools of Internet Explorer or Google Chrome or Firebug in Firefox to examine the current modified HTML code any time. If you use Toolbar Filtering, then you will see that ids of all items from the toolbar have prefix “gs_”. Probably you try use it in form editing of inline editing.
By the way Tenerife is my
OlegK said:
Hello Candra,
It seems to me that your code have at least the error inside of $.get success handler. You should use $(“select#gs_City”).html(res) instead of
I would do this:
{name:'ETS_ETA_BASWARE', index:'ETS_ETA_BASWARE', width:112, align:'center', editable:true, edittype:"checkbox", editoptions:{value:"Oui:Non"}, searchoptions: { sopt: ['eq'], value:"true:Oui;false:Non" }, stype: 'select'}
You only need desire to develop jqgrid 🙂
When I started with jqgrid, I didn't know anything about it, only a little of jquery.
You have all the documentation in: http://www.trirand.com/jqgridwiki/doku.php?id=wiki:jqgriddocs and the DEMOS in: http://www.trirand.com/blog/jqgrid/jqgrid.html but this is only necesary for the client. You have to do all server code in the language that you want. People recomend .NET and PHP but I am developing with Java in this moments and works fine.
good luck!
it's work!!!
The solution is to use de dataUrl option in editoptions of colModel
jquery code:
colModel :[{name:'notification', index:'notification', width:110, align:'center', editable:true, edittype:'select', editoptions:{dataUrl:'/application/getNotificationSelect'}, searchoptions: { sopt: ['eq'], value:"true:Yes;false:No" }, stype: 'select'}]
server code:
public static void getNotificationSelect(){
jQuery(“#toolbar”).jqGrid('navGrid','#toolbar',
|
1 2 |
{parameters}, prmEdit, prmAdd, prmDel, prmSearch, prmView);<br /><br />And example could be:<br /><div class="sfcode">jQuery("#toolbar").jqGrid('navGrid','#toolbar',<br /> <pre class="code javascript">{edit:false,add:false,del:false}, <br />{//edit<br /> |
This line is removing the add, edit, delete buttons of the navigation grid which are by default.
#rowed3 is refering to grid name and #prowed3 to pager name
You can view de grid options here: http://www.trirand.com/jqgridw…..ki:options
try with this:
view:
jQuery(document).ready(function(){
You can change the css of jquery and your grid will change inmediately. For example:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top