@matdjon

@matdjon

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: tree label onEdit event #109726
    matdjon
    Participant

    Hi Markov,

    You can compare this with my codepen.

    Try to edit the label in each demo.

    in reply to: tree label onEdit event #109717
    matdjon
    Participant

    Understood Markov.

    but when the label is edited, it will show full html element including the <i>icon</i>

    Is there any plan to address this?

    in reply to: tree label onEdit event #109708
    matdjon
    Participant

    For event fired when user editing, I realized I can manually add event listener to input element with [smart-id = editInput]. When user started editing, I can use focus and when finished editing, blur can be used.

    My intention is to add icon or img to the side of smart tree, but when the label is edited, it will show full html element including the <i>icon</i>. I just want to edit the text. An example can be seen on this codepen. But of course, it will be better if this use case is officially supported.

    ps: my boss won’t let me use this code because as she said – “this is cheating”. She wanted to use something that is a proper implementation of smart tree itself.

    in reply to: Multiple column’s datafields #109624
    matdjon
    Participant

    Understood. Thanks for the quick reply Markov.

    in reply to: Smart table refresh() method #109362
    matdjon
    Participant

    Hi Markov,

    Thanks for the detailed explanation. For context, I am asking about the refresh method because I want to refresh my table with and updated data, i.e. new table row. But I figured that I just need to send new/updated array to the table dataSource and the table will automatically update itself.

    in reply to: Create double rows inside cells #109319
    matdjon
    Participant

    Thanks Markov and ivanpeevski for the helpful input.

    My code is working now.
    From my understanding, the templateElement is intended for a short html code, while formatFunction is for an elaborate, long html lines. Is this correct?

    in reply to: Create double rows inside cells #109302
    matdjon
    Participant

    the page is very broad. can I get a more specific example?

    And also I try to find the documentation for templateElement and formatFunction but to no avail.

    in reply to: Create double rows inside cells #109299
    matdjon
    Participant

    can’t embed the image. the link is https://imgur.com/O5wq5bc

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