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

Grid Bottom CommandItem not visible

1 Answer 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kavi
Top achievements
Rank 1
Kavi asked on 09 Jun 2010, 05:35 AM
Hi,
When I am trying to bind the empty array into Grid on Client side, the Grid's Bottom CommandItem row is made invisible automatically .
How can I solve this problem ? Pls fix the bug ? 


var

 

codeMasterSource = new Array();

 

function

 

DataBind() {

 

grd = $find(

'Grid').get_masterTableView();

 

grd.set_dataSource(codeMasterSource);

grd.dataBind();

}

1 Answer, 1 is accepted

Sort by
0
Kavi
Top achievements
Rank 1
answered on 09 Jun 2010, 05:52 AM
I got a solution by this line of code

$(

'.rgCommandRow')[0].parentNode.style.display = "";

 

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