olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.02k stars 1.97k forks source link

Is posible to add a row to a table, the row must be empty and have colspan = to all the fields #1718

Closed elpepefontana closed 3 years ago

elpepefontana commented 3 years ago

Hi. I need to add a row/cell to a Metro UI table, that is empty = no content, i will add the content with javascript later, and with a colspan of all the columns, to add content all across the table? See this image, i want to add a row/cell like the second one on the image, and later fill the content by javascript.

Captura de Pantalla 2021-02-05 a la(s) 12 32 15
xscode-auto-reply[bot] commented 3 years ago

Thanks for opening a new issue. The author has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

elpepefontana commented 3 years ago

The row must be added between others rows, on the fly. Click on the top row, add the row just below the one you clicked (i'll add a button to do this, on each row). Can it be done? Thanks in advance. José.

olton commented 3 years ago

You can use event data-on-append-row and append an additional row after inserted row. https://codepen.io/olton/pen/gOLXxbY?editors=1010