Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Huzefa on Aug 09, 2009 00:53
open dhtmlx forum
get checked node on server side

Hi,

I am displaying a dhtmlxTree on my View and want all those nodes that have been checked on the server side at the click of submit button.
I trying to figure this out but unable to do it. No matter whatever item i check or uncheck i do not get anything on server at submit click.

Thanks,
Huzefa
Answer posted by Alex (support) on Aug 10, 2009 01:55

Hello,

tree checkboxes are images. So, they are not submitted automatically.

You can use getAllChecked method to get list with ids of checked items:

var ids = tree.getAllChecked()