This is a migrated thread and some comments may be shown as answers.

[Solved] Empty Grid issue

3 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Atanu
Top achievements
Rank 1
Atanu asked on 30 Aug 2012, 11:08 AM
I am facing a strange issue here.

I have a grid with ajax binding which works fine as expected.
Now I need to open the grid empty at start up. Which I did with the following command from JavaScript

grid.dataBind(null)

The command makes the grid empty but keeps its previous paging...

Please advise

3 Answers, 1 is accepted

Sort by
0
Atanu
Top achievements
Rank 1
answered on 31 Aug 2012, 10:18 AM
Never mind.... I solved it in another approach....
0
Eric
Top achievements
Rank 1
answered on 23 Oct 2012, 01:19 PM
What other approach?!
0
Atanu
Top achievements
Rank 1
answered on 30 Oct 2012, 05:22 AM
I wrote script to hide the pager details manually from javascript before opening the popup window as below:

$('#MyGrid .t-pager').hide();
$('#MyGrid .t-status').hide();
$('#MyGrid .t-status-text').hide();

Tags
Grid
Asked by
Atanu
Top achievements
Rank 1
Answers by
Atanu
Top achievements
Rank 1
Eric
Top achievements
Rank 1
Share this question
or