PROJECT DESCRIPTION
The demo shows how to expand/collapse all groups in groupable grid (configured in client group load mode) on checkbox click. The checkbox toggles the expanded state in all levels by means of client javascript logic.

In essence, you need to find the corresponding expand/collapse image inside a group header, change its image url and invoke its click() method conditionally depending on expand/collapse indicator. Because there is no default click() method for img html element under Gecko-based browsers, we define a prototype for that function to handle the operation in the same way as under IE. Below is the javascript block from the sample demo:

Hristo Deshev

This example uses an AccessDataSource control and the problem you report makes me think you are using SQL server.

Using the "sa" user for SQL Server is generally ill advised and you may have hit some sort of a security feature and the DB may be explicitly blocking you from using that account. Try creating another user, grant permissions to the Northwind DB, and then regenerate the SQLDataSource control on your page.

John

I am trying to get your example to work in our environment but having problems with the MasterTableView. When I'm trying to access the Rows like in your sample ( tableView.Rows.length ) I am always getting an error ('Rows.length' is null or not an object). I also tried to get the rows of the MasterTableView via get_masterTableView().Rows which was not successful as well.

Has it maybe something to do with our version of the dll (2008.3.1314.20)

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.