Skip to forum content

Mif

— mystic javascript interface

You are not logged in. Please login or register.


Post new reply

Post new reply

Compose and post your new reply

You may use: BBCode Images Smilies

All fields labelled (Required) must be completed before the form is submitted.

Required information for guests



Captcha image. Turn pictures on to see it.
Required information
Optional post settings

Topic review (newest first)

1

fixed rev109-111

2

Since there is a problem with the dependant checkboxes and this way of setting checkboxes, isn't it better to use the switch method (and looping through the nodes that should be checked)..

Or does anyone have a fix yet (didn't have time to look at the code myself).

3

Thank you guys

4

It seems there are some problems with dependent checkboxes


p.s.     Where's moro got to?
on leave

5

Hello,

just set

"state":{"checked":"checked"}
"state":{"checked":"unchecked"}

in your json array. Works fine with simple checkboxes, but I can't figure out how to handle depended checkboxes (if there are elements with children, "partially" will be overwritten).

Regards
kugli

p.s.     Where's moro got to?

6

Hey there,

Does anyone knows if it's possible to set checkbox checked state upon tree loading via json?