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

RadGrid Refresh problem

1 Answer 158 Views
Grid
This is a migrated thread and some comments may be shown as answers.
fareedha
Top achievements
Rank 1
fareedha asked on 28 Mar 2011, 03:17 PM
Hi,


I tried to visible false the radgrid row using client side script.but i cant set the visible false .

 function setVisible() {
           // debugger;
            var _selectedItems = $find("ctl00_GridContentPlaceHolder_RadPanelBar2_i0_SearchGrid");
            if (_selectedItems != null) {
                var oldSelected = _selectedItems.get_masterTableView().get_selectedItems();
                for (var i = 0; i <= oldSelected.length - 1; i++) {
                  
           _selectedItems.get_masterTableView().get_selectedItems()[i].set_visible(false)
                   _selectedItems.get_masterTableView().get_selectedItems()[i]._selected = false;
                }
                _selectedItems.repaint();
              
            }
        }

if i call the mastertable.rebind() it s working fine . but its taking long time to refresh.
please provide the solution for this performance issue.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 31 Mar 2011, 12:01 PM
Hi,

I tried to replicate the described issue locally bit to no avail. Please find attached a sample runnable application in which hiding of the selected row works correctly without need of rebinding the RadGrid.
Test ti on your sid and let me know what the difference in your case is.




Regards,
Maria Ilieva
the Telerik team
Tags
Grid
Asked by
fareedha
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or