jqgrid

Can we freeze the columns in JQGRID??

Can we freeze the Columns in JQGRID. ...

Apply a label to the rowlist dropdown in jqgrid

jqgrid's rowlist option is an array of integers that it uses to construct a dropdown; the user makes a selection from the dropdown to specify how many rows to see on the page. But there's no label next to the dropdown to tell the user what it's for. Has anyone come up with a tidy solution to putting an explanatory label of text next to...

How to change a specific RowData value in a jqGrid ?

Hi ! I have this jqGrid <trirand:JQGrid runat="server" ID="JQGrid1" OnRowEditing="JQGrid1_RowEditing" RenderingMode="Optimized" oncellbinding="JQGrid1_CellBinding" Height="350"> <AppearanceSettings HighlightRowsOnHover="true"/> <Columns> <trirand:JQGridColumn DataField="IdLancamento" PrimaryKey="True" Visible="false...

Using key/value pairs for jqGrid cell data

I have a jqGrid defined as such: $("#tableFeedbackReports").jqGrid({ url: '/FeedbackReports/GetFeedbackReport', datatype: 'json', colNames: ['ColA', 'ColB', 'ColC', 'ColD'], colModel: [{ name: 'ColA', index: 'ColA', width: 60 }, { name: 'ColB', index: 'ColB', width:...

Modal functionality dissapear after "find" or "reset" clicked

Hi guys. I'm having an issue with modal search. Modal pop up shows ok, but after "reset" or "find" is clicked the modal functionality disspear and although search box remains active you can click into jqGrid. Don't know if is a problem with the overlay. Ideas? jQuery("#listNoticias").jqGrid({ url: '<%= Url.Action("ObtenerDa...

how to execute a command after an ajax call?

i wrote this script $.getJSON('<%=Url.Action("JsonSave","Controler")%>', { id: newRow.Id, personId: newRow.PesronId}, function(data) { $('#grid').trigger('reloadGrid'); //{0} $('#grid').editRow(rowCount); //{1} }) what should i do so that {1} would be executed exa...

change cells text in a jqGrid

i have a colModel looks like this: { name: 'TypeId', index: 'TypeId', align: 'left', width: 50, editable: true, edittype: "select", sortable: false, hidden: false, jsonmap: 'InspectionTypeId' }, how can i change the cells text not changing the value? ...

jqgrid search problem

Hello, the search option that is shiped with JQGrid only searches within the dataset that resides in the grid and not within the whole dataset retrieved by the query,therefore I must paginate and search within every dataset.. is there an option to make search within the whole dataset and not only within the current view of the dataset t...

Creating JQGrid colModel from a javascript string variable.

I am facing an issue while making a common grid control. When I put colModel:[ {name:"ID", index: "ID", width: 400, align: "Left"},{name:"Description", index: "Description", width: 400, align: "Left"}], It works. When I am trying to replace the ColModel by a string variable I am not getting right display. colModel:[ColDisplay], The ...

How to Choose Fields While Using ExportToExcel in jqGrid ?

Hi ! I have this jqGrid <trirand:JQGrid runat="server" ID="JQGrid1" OnRowEditing="JQGrid1_RowEditing" RenderingMode="Optimized" oncellbinding="JQGrid1_CellBinding" Height="350" EditUrl="/Ferramenta/Transacoes/TransacoesT.aspx"> <AppearanceSettings HighlightRowsOnHover="true"/> <Columns> <trirand:JQGridColumn DataFie...

jqgrid Display Grid as Subgrid by separate Button

Hi, I have a Problem to Display a Grid as a Subgrid using an extra button. I tried to copy the code from the subGridRowExpanded: Event. But the Grid is doing something nasty, before the subGridRowExpanded is fired. If I use the + button at the left side the grid is displayed properly. If I now push my created button, the subGrid is r...

How to profile JQuery/JQGrid

I am using JQGrid component for displaying ajax tree grid. With some quantity of data (tree with 200 branches, 2-3 items in each) - the grid begins to freeze in FireFox. Then I get a window asking whether to stop the script or continue. What is the prescription to debug and resolve this? I can debug my code, but I am not sure how to deb...

json jquery grid (using django) - having problems presenting the data

Hi, I'm trying this source where jqGrid gets some json data from django: link Unfortunately the data is not presented in the jqgrid, only an empty jqgrid. I'm rendering the jqgrid with this call: <script type="text/javascript"> $(function () { $.getJSON("{% url myapp.views_json.grid_config %}", function(data){ ...

How to track changes on jqGrid columns/layout/order?

Hello, I have a jqGrid that can be sorted by different columns both in ascending and descending order. Columns may be added or removed, and the order of the columns may be changed too. I need to detect when any of these properties have changed, in order to save the users preference. Is there a way to catch these events? I've been loo...

Is it possible to stop a JqGrid from flickering on reload?

Whenever I call trigger("reloadGrid") on a JqGrid, it clears the existing table, displays a "loading" message, and then regenerates the existing data - the whole process just takes a few milliseconds, but it makes the user interface feel unpolished if it happens a lot. Is it possible to stop it from clearing and showing the loading messa...

jqgrid reload grid after successfull inline update / inline creation of record

Hi, I'm wondering how I can trigger reloadGrid after an inline edit of a row. <script type="text/javascript"> jQuery(document).ready(function(){ var lastcell; jQuery("#grid").jqGrid({ url:'{{ json_data_handler }}?year={{ get_param_year }}&month={{ get_param_month }}&project_id={{ get_param_project_id }}', ...

My First Grid Doesn't Work

I've follow this instruccion http://www.trirand.com/jqgridwiki/doku.php?id=wiki:first_grid but my grid is not working. The DATA is only in my first page. And the navigation bar doesn't work and there is a message (UNDEFINED) in the grid.. PLEASE HELP ME I Did all the instruccion you can see a screenshot here: http://reyes.hostei.com/scr...

disabling modal popup in jqgrid

I want to create a custom message without using the modal popup in jqgrid. Is there a way to disable it? Or is there a way to change the contents of the modal? ...

jqGrid and JQuery UI tabs showing grids expanded only on primary tab (div)

Hi, I have added some grids (jqgrid) to a jQuery UI Tabs object. All the grids on the Tabs child that is expanded by default, displays perfectly. But the grids on the Tab children that are NOT expanded by default, permanently shows the jqGrid small (jqgrid with autowidth=true). Any ideas? Thanks! See http://www.revolucion7.com/wp-cont...

PHP JQGrid Zend Framework

I am trying to JQGrid in Zend Framework , but not working. I am getting the Json formated string as output Controller: <?php // require_once 'Zend/Controller/Action.php'; class TestController extends BaseController { public function indexAction() { // TODO Auto-generated TestController::indexAction() default action ...