JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid minor grid template documentation issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #108573
    edwardsmarkff
    Participant

    hello –

    First off, let me say the grid capability is outstanding!  I came across this in the documentation near the bottom of the page, and its sort of confusing:

    https://www.htmlelements.com/docs/grid-cell-edit/

    
    dropDownList.addEventListener('change', function () {
    change = true;
    });
    

    the line change = true; is throwing an error since changeis not defined.  i tried looking at (element) => { but this is probably something a developer needs to look at since there are many items returned.

    is the 'change' listener even necessary?  or is it just here for illustration?

     

     

    #108597
    Markov
    Keymaster

    Hi,

    It’s just for demonstration that the developer can write something inside the function. May be a comment like ‘your code here’ would be better.

    Regards,
    Markov

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.