jQWidgets Forums

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • Pei Hu
    Member

    Hi Peter,
    Thank you again!
    I am looking forward your next version 😀


    Pei Hu
    Member

    Hi Peter,
    Thanks for your reply.
    I know the ‘checkItem’ method, but I can only do the check action one by one item. what I really want is doing the check action by passing the “source” param (it’s an array object and it contains the checkstate for every items) once.

    var source = [
    { label: “Item 1”, expanded: true, items: [
    { label: “Item 1.1”, checked: true },
    { label: “Item 1.2”, selected: true}
    ]
    }]

    if I use $(‘#jqxTree’).jqxTree({ theme: theme, source: source, height: ‘300px’, width: ‘300px’ });
    “Item 1.1” in the builed tree will be checked. Is there any solutions?

Viewing 2 posts - 1 through 2 (of 2 total)