Smart UI Components & Libraries – Grid, Scheduler, Gantt, Kanban for Angular, React, Next.js, Vue, Blazor, JavaScript › Forums › Data Grid › Problem with ColumnGroups && CommandColumn
Tagged: grid
- This topic has 1 reply, 2 voices, and was last updated 3 years, 2 months ago by
admin.
-
AuthorPosts
-
September 28, 2022 at 2:11 pm #103767
Dark Beccio
ParticipantHi,
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.
September 29, 2022 at 10:11 am #103768admin
KeymasterHi,
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 StoevjQWidgets Team
https://www.jqwidgets.com/ -
AuthorPosts
- You must be logged in to reply to this topic.