Hello,
You can replace text with some string containing html <img> tag.
$grid["loadtext"] = "Loading…";
$g->set_options($grid);
When you set
$opt["loadtext"] = "<img src='…' />";
$g->set_options($opt);
It will show image instead of "Loading…" text while loading grid.
If you want preloader when submitting data, it is currently not supported by default
You can do it using BlockUI plugin:
Please see this demo:
https://gist.github.com/gridphp/915d2e0834354913fdfd338d47d50a53
Line 46,55
Dear Abu,
I had trial to modify your sample /demos/appearance/custom-grid-button.php and add command $grid["loadtext"] = "Loading…"; as your advice, but still not appear progress bar as you see on https://postimg.org/image/9ovhvmpcz/
$g = new jqgrid($db_conf);
// set few params
$grid["caption"] = "Sample Grid";
$grid["multiselect"] = true;
$grid["height"] = "250";
$grid["autowidth"] = true;
$grid["rowNum"] = 15;
$grid["loadtext"] = "Loading…";
$g->set_options($grid);
Could you help please.
Hello,
the feature works great when each file is loaded. Is there a way to find out which file can not be loade, something like the loading queue?
thanks!