Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ganesh

Pages: [1]
1
Hi,

I tried to get rowIndex by using the cell value. For example if am giving the cell value like VOYAGE it needs to print the rowIndex like 2. I used the following code

       var obj = $( "#VoyageDetails_tab_main" ).pqGrid( "getRowIndx", {tr:"VOYAGE HEIGHT"});
       var rowIndx = obj.rowIndx;
       alert(rowIndx);

am always getting undefined only. What i need to put in that colored area or else what i did wrong. Any one help me.

2
Hi,

I want to edit my cell from outside the function. That means in different function not with in the same function. For editing the cell within the function I used the following code.

data[1][1] = "gun";
$( "#performance_tab_main" ).pqGrid( "refreshCell", { rowIndx: 1, dataIndx: 'speed' } );

How can i edit the cell from outside/another function.

3
Help for ParamQuery Grid (free version) / Add data in Column wise
« on: April 07, 2014, 06:33:39 pm »
How to add Data in Column wise Because i created Dynamic column through the using of following code and i need to enter the data in column wise. So help me.       

$('body').on('click','#addstandardvoyage1',function(e)
      {
        var $grid=$("#poolrules_tab_main");
        var CM = $grid.pqGrid("option", "colModel");
        CM.push({title:'Dynamic Column',align:'center', width:280});
        var DM = $grid.pqGrid("option", "dataModel");
            var data = DM.data;
            var $frm = $("#poolrules_tab_main");
            $grid.pqGrid ( "refresh" );   
            $grid.pqGrid( "refreshDataFromDataModel");
            $("#poolrules_tab_main").pqGrid(obj);   
      });

Pages: [1]