Hello,
Â
You define the pager as jQuery object.
Not sure, but try to define it only as string i.e
Â
pager: ‘#pager2’,
Â
Regards
Hello,
Â
In subGridRowExpanded you define custom functions ciDetailsFormatter and function detailsFormatter.
These are executed every time you expand the grid and of course this will bring a error
Define these functions outside this subgrid scope.
The more simple way is just to use very simple subgrid and then add other custom things.
Regards
Hello,
Humm – it seems that I tell you this is wrong way.
Try with
loadonce: true
and do not use
gridComplete to put the data type local – i.e disable this event.
The trick should be that if loadonce is true – it put automatically datatype local after loading the data.
The other code do not need to be changed.
Also it is a good idea to use key:true in one column of colModel.
Â
Please let me know on the result. If this does not help I will try to prepare a example.
Â
Kind Regards
Tony
Hello,
Â
Try to clear your browser cache and try to register.
Also in this case we recommend you to use Chrome browser.
Please report this problem to support at trirand dot net.
If you can not register, please send the problem to the above e-mail.
Â
Kind Regards
Tony
Hello,
Â
Use onPaging event to change the datatype. Do not forget to set it again to local in the gridComplete event.
Â
See docs for these events.
Â
Regards
Tony
Hello,
Thanks. It works ok now.
Â
Kind Regards
Hello,
Â
Thanks for the feedback and posting your solution.
Â
Regards
Hello,
Â
Please check that you use the latest jqgrid and jquery ui css files.
Â
Regards
Hello,
Â
It all depends how you do this.
Maybe you want to show your code.
Â
Regards
Hello,
Â
This is not a bug not in jqGrid itself, but it is a bug in the user provided function tableToGrid.
I recommend yo to get the data as array and create the grid from scratch, not using this method.
Note that I plan to remove this method from the build in the next release and put it in the custom methods.
Â
   // Add data
   var a;
   for (a = 0; a < data.length; a++) {
      var id = null;
      if (rowIds.length > 0) {
         id = rowIds[a];
         if (id && id.replace) {
            // We have to do this since the value of a checkbox
            // or radio button can be anything
            id = encodeURIComponent(id).replace(/[.-%]/g, “_”);
         }
      }
      if (id === null) {
         id = a + 1;
      }
      jQuery(this).jqGrid(“addRowData”,id, data[a]);
   }
Â
Comment this fragment and one step above change the setting to:
Â
       data : data,
      width: w,
      colNames: colNames,
      colModel: colModel,
      multiselect: selectMultiple
      //inputName: inputName,
      //inputValueCol: imputName != null ? “__selection__” : null
   }, options || {}));
Hello,
Â
As far as I know ie8 you have a error here
….
dayNamesShort: ,
dayNamesMin: , <— comma here
});
Â
IE does not like this.
Check for other such kind of errors
Regards
Hello,
Â
A test case is needed, otherwise I can not help.
Maybe initially you should sort the data in appropriate manner. We have removed groupDataSorted : false from one of the previous releases.
Â
Regards
Hello,
Â
If you use key true the id shouldcome from that row.
Will be interesting from me if you put online example or post a code with some data.
Â
Regards
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top