Skip to Content
avatar image
Former Member

TreeTable change the values in the collapsed node

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)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers