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

I do not want to add this feature now, mb in future

2

so what is the status on this, moro?

do you view this as possible improvement? if so, when can we expect it to be implemented?

thanks

3

Hi moro,

Currently in the example files there's "expandTo" property of a node:

var json=[
{
    "property": {
        "name": "root"
    },
    "children": [
        {
            "property": {
            "name": "node1",
            "expandTo": 1
        }]
}

While this works and is extemely useful, I'd still like to have one more property of a node, that will select it after the render. After all, in most cases when you are "expanding to a node", you are also selecting it.

Can you introduce "selected" property as shown below:

   

"children": [
        {
            "property": {
            "name": "node1",
            "expandTo": 1,
            "selected": true
        }]

Thanks,
Temuri