JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Problem with ColumnGroups && CommandColumn

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #103767
    Dark Beccio
    Participant

    Hi,

    here a working code pen reproducing the problem – https://codepen.io/andreaguarducci/pen/yLjvbyK

    What is Triggered :

    Uncaught TypeError: Cannot read properties of undefined (reading ‘style’)
    at BaseElement._recycle (smart.elements.js:65:154764)
    at BaseElement._refresh (smart.elements.js:65:131361)
    at BaseElement.refresh (smart.elements.js:65:169530)
    at BaseElement.r (smart.elements.js:6:72270)
    at BaseElement._resizeHandler (smart.elements.js:65:132492)
    at BaseElement.d (smart.elements.js:6:61423)
    at f.dispatch (smart.elements.js:6:26716)
    at f.dispatchEvent (smart.elements.js:6:27730)
    at Object.resize (smart.elements.js:6:28022)
    at t.<computed> [as resize] (smart.elements.js:6:12419)

    14smart.elements.js:65 Uncaught TypeError: Cannot read properties of undefined (reading ‘getBoundingClientRect’)
    at o (smart.elements.js:65:51146)
    at BaseElement._columnMoveHandler (smart.elements.js:65:51548)
    at HTMLDivElement.d (smart.elements.js:6:61423)
    at f.dispatch (smart.elements.js:6:26716)
    at f.dispatchEvent (smart.elements.js:6:27730)
    at Object.move (smart.elements.js:6:28022)
    at t.<computed> [as move] (smart.elements.js:6:12377)
    at h.handleMove (smart.elements.js:6:18423)
    at h.pointerMove (smart.elements.js:6:18959)
    at f.dispatch (smart.elements.js:6:26716)

    When is triggered:

    when u call Smart(‘#grid’, class {}) inside a function with ColumnGroups && CommandColumn

    Why i found it:

    because i use routing,

    fnName = myFunction

    window[fnName]();

    window.myFunction = function (){

    initGrid();

    }

    function initGrid(){

    Smart(‘#grid’, class {});

    }

    Additional Notice:

    if u remove ColumnGroups  or CommandColumn (from Editing) the grid works, with both no.

    hope u can help me solve this problem,

    TY.

    #103768
    admin
    Keymaster

    Hi,

    This is an issue in the Grid. It will be resolved as soon as possible.

    Thank you for the feedback! We appreciate it!

    Best regards,
    Peter Stoev

    jQWidgets Team
    https://www.jqwidgets.com/

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