Closed rmobis closed 9 years ago
Removed renderTable()
. Is there anything you think should be different?
Done. I left the $table->render()
part on the withTable
method. I'm unsure whether it'd be better to recreate the renderTable
method for this and store the property without rendering...
Thought so. Changed it.
Sorry for the delay - thanks!
According to the Bootrstrap 3 documentation, it is possible to have tables inside panels simply by appending them after the body. There are even special styles for it. This PR adds a
withTable
method to allow for that along with a test that is pretty much like the other ones for thePanel
class.If there's anything to be improved, please let me know.
Example
The following PHP code:
Produces the following HTML code:
Which renders to the following panel: