Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Andrew on Dec 26, 2007 10:55
open dhtmlx forum
How can I make radio button behavior across multiple rows?

Hi,
I have multiple rows in a treegrid. When the treeGrid expands I have multiple rows of screen names. I need to have the user to select one and only one of these screen names as their "base" screen. how do I do that? The first idea that comes to my mind is to use radio buttons. Although, I'm not sure how to do that with your treeGrid.

Thanks,

Andrew
Answer posted by Stanislav on Dec 26, 2007 18:14
By default grid use "single-select" mode, so you can can just initialize grid in default ( single select mode ) and react on row selection
In such case only one row in grid can be selected,.
Of course you  can initialize treegrid with multiple columns and set first column as ra ( as radiobutton)