Hi Tony,
Great job with the grid, I love it and it’s just what I need.
What I now need to do is to prevent the grid from loading on the initial page load, because I need to use a list selection as a parameter.
Also, I am using the grid on a form that also uses taconite plugin.
I am trying the following:
$(function() {
$("select#workout_id").change(function() {
var parm_id = $("select#workout_id").val();
$.get("elite.php?c=user&m=workout_desc", {workout_id: parm_id});
load_measures(parm_id);
});
});
function load_measures (id) {
var newurl = "elite.php?c=user&m=get_workout_measures&workout_id="+id;
jQuery("#griddata").setUrl(newurl);
jQuery("#griddata").trigger("reloadGrid");
}
I have also tried:
function load_measures (id) {
griddata = $("griddata").jqGrid();
griddata.setUrl("elite.php?c=user&m=get_workout_measures&workout_id="+id);
griddata.trigger("reloadGrid");
Any suggestions?
Thanks!
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top