I'm having an issue where I have a grid setup on a page that is not visible by default but I want to make visible (and it's contents) onload.
I'm testing in Chrome and Firefox and it seems like firefox works as expected with ().show but Chrome doesn't. (I've tried clearing cache etc.) My question is, what is the proper way to show/hide a grid (and it's contents)
Here's what I've tried in my onload javascript:
ONLOAD:
Appery('sanity_grid').show(); // doesn't work
Appery('sanity_grid').css("display", "block"); // works
$('[dsid=sanity_grid]').show(); //doesn't work
Lastly, when I run this test directly under the code below, I always get, 'sanity grid is not visible'.
if ( Appery("sanity_grid").is(":visible") ) {
alert ('sanity grid is visibly');
} else {
alert ('sanity grid is not visible');
}
Thanks!