How can I trigger the jqGrid loading.. message?
Asked Answered
C

2

6

I'm intercepting server response via datatype, but I've noticed that the loading.. message is lacking! How can I trigger it ?

Cetus answered 4/11, 2009 at 14:57 Comment(0)
A
14
$(".loading").css("display", "block");

Then, to hide it after the data loads, you can use:

$(".loading").css("display", "none");
Anuran answered 5/11, 2009 at 18:59 Comment(0)
A
2

A better way would be using the following code.

$("#lui_gridName,#load_gridName").show();

"gridName" is the name of the grid.

Aronoff answered 3/4, 2012 at 20:45 Comment(1)
OR just $("#load_gridName").show(); which wouldn't grey out the window until the grid loads.Harriette

© 2022 - 2024 — McMap. All rights reserved.