This course is archived!
07.
Console Styling
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
This course is archived!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
2 Comments
Thank you for great videos! Btw, is there a way to display things in a table when I don't know number of items beforehand... or in other words where rows are added to the table "live"...
Thanks Dimitry K!
Hmm, I don't think what you're asking is possible. Basically, the table needs to be built first entirely, and *then* rendered, otherwise Symfony won't be able to know how wide to make the columns (which it calculates based on the number of columns and the width of the content inside the columns). But, it still might be possible: as long as you are able to build the table and *then* render it, there shouldn't be a problem. What I mean is, even if you have a variable number of columns, as long as you're able to determine how many columns you have when building the table, and then you build the table with the data, Symfony will have no problem rendering that :).
Let me know if that helps! And cheers!
"Houston: no signs of life"
Start the conversation!