jqGrid. add dialog
I have jqGrid with some columns, I want to add additional fields in Add dialog, that not displaying in grid, but sending in request. How i can make this functional? ...
I have jqGrid with some columns, I want to add additional fields in Add dialog, that not displaying in grid, but sending in request. How i can make this functional? ...
I don't understand how to change width of edit form in JqGrid. I found option 'width' but I don't know how to use it (there isn't example). ...
hello, I would like to create a toolbar in jqGrid with only the buttons that usually are on the pager. At the moment I have the following definition $("#foroGrid").jqGrid('navGrid', '#pager', { add: true, addtitle: 'Add Foro', edit: true, edittitle: 'Edit Foro', del: true, deltitle: 'Delete Foro', refresh: ...
Following on from here, I need to have an inline editable grid in my web application using RichFaces 3.3.3, JSF 1.2 and Facelets. My options are the rich:dataTable RichFaces control, or the jQuery plugin, jQGrid I have tried both and found the following so far: jQGrid works really well, but I am not sure what will happen if I try to ...
Is there any way to copy data cells from excel and paste into jqgird or opensource grids so that is saves to database. ...
When I load jqgrid first time everything is ok. When I reload it, buttons are show twice. How to fix it? Is it a common problem with jqGrid? I can't post screen to show it :-( ...
Hi, I am using jqGrid with the autowidth option set to true. Standing to the documentation: When set to true, the grid width is recalculated automatically to the width of the parent element. This is done only initially when the grid is created. In order to resize the grid when the parent element changes width you should apply cust...
It's easy to connect two grids for Drag and Drop: jQuery("#sourceGrid").jqGrid('gridDnD',{connectWith:'#targetGrid'}); However, this moves the row from source to target. I want to copy the row from source to target. The default "drag_opt" for gridDnd includes "helper: 'cone'", but it doesn't appear to be cloning. Does anybody have ...
using jqGridversion 3.7.2 I thought that if I set cellSubmit: 'clientArray' then the grid does NOT need a url to post data. I'm trynig to just capture the changed value locally and process it manually, not auto trigger a server event. Yet when I try to exit an edited cell I still get the "Error: No url is set" dialog. grid options def:...
Hello, I am using custom edit/delete functions in jqGrid and I really enjoyed the fact that they call your custom function after checking if a row was selected or not. Now I would like to add two more buttons and I would like to use the same behaviour of the edit/delete, so when a row is selected my function get called but if no rows h...
I have the following jqgrid that uses the jquery ui theme imported to my master page. $("#shippingscheduletable").jqGrid({ url: $("#shippingscheduleurl").attr('href'), datatype: 'json', mtype: 'GET', altRows: true, colNames: ['Dealer', 'Model', 'Invoice', 'Date', 'PO', 'Seria...
I am trying to populate a jqGrid with data from a web service. I have looked at the jqGrid code and documentation thoroughly. I need another set of eyes to look at the code below and tell me if I'm missing something. As you'll see in the code, I have the grid set up to load when the page loads or during a refresh. After the grid load...
We use jqGrid with altclass set and with hoverrows:true. When you click on a row, the altclass class is no longer applied and the hover effect no longer works on the clicked row. How can you stop this from happening? ...
I have been able to pull data from my DB using jQuery/Ajax from a webservice into the jQGrid. Now I would like to send added/edited data back to the webservice. I've seen some examples by using PHP and the editurl: command. Will that work for webservices as well (like how I pulled down the data originally)? I've looked over the exam...
The example treegrid implementation isn't exactly crystal clear. I've got a grid like: ID Name Val + 1 Foo 45 + 2 Bar 30 Which I'm populating from a json object. When you click on the +, I want to go to the server and get the data associated with that row's id: ID Name Val - 1 FooBar 45 - Foo 20...
Is it possible to add navigation items to the "top pager" in a jqGrid? And if so, what's the syntax for doing so? I have an HTML snippet on my page that looks like this <table id="mygrid"> </table> <div id="mygrid_pager"></div> And then an jqGrid initialization that looks something like this $('#mygrid').jqGrid({ ..., //full co...
Hello, I am using jqgrid for a website i am developing and can't seem to find the problems in ie8. In ff everything works fine, but in ie8 i get the "Out of memory at line 12" message followed by a list of "Object doesn't support this property or method" Here is the list with all the js files i include: <script src="js/jquery-1.4.2.m...
How can you create a grid but not load any data? If I omit the url option then the loadError callback is triggered. Currently we set url:NoData.json where NoData.json is a static file with no rows in it. Issue is in our loadComplete callback we'd like to dipslay a message if the grid contains no data - except we don't want to display ...
Hi, I'm trying to validate a celledit with ,editrules: { custom: true ,custom_func: myCustomFunc } But when error message is accepted, focus gone to another cell. How can retain focus on the invalid cell? Thanks in advance :-) ...
How can you add custom properties to a grid? The properties would not be used by jqGrid itself. It's more of meta data which would be used by our custom code. For example, we want a custom property to identify if the grid appears on our 'main page'. This property would be read by some of our common functions which would handle certai...