Skip to Content

TreeTable change the values in the collapsed node

Feb 02 at 11:17 PM


avatar image

Hello All


My treetable looks as following:

my json:

  "catalog": {
    "clothing": {
      "categories": [
        {"name": "Women", "categories": [
          {"name":"Clothing", "categories": [
            {"name": "Dresses", "categories": [
              {"name": "Casual Red Dress", "amount": 16.99, "currency": "EUR", "size": "S", "category": "Clothing"},
              {"name": "Short Black Dress", "amount": 47.99, "currency": "EUR", "size": "M", "category": "Clothing"},
              {"name": "Long Blue Dinner Dress", "amount": 103.99, "currency": "USD", "size": "L", "category": "Clothing"}

  "sizes": [
    {"key": "XS", "value": "Extra Small"},
    {"key": "S", "value": "Small"},
    {"key": "M", "value": "Medium"},
    {"key": "L", "value": "Large"}

When the button is pressed, for all cells change size

I can only do this when all nodes expanded.

I do it so:


How to do the same, in a closed node?

Thank you.

treetable.png (41.5 kB)
treetable-1.png (41.7 kB)
code.png (17.4 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers