-
Notifications
You must be signed in to change notification settings - Fork 67
Table Styling #53
Comments
There are some popular table styles. Is there something that can be used from them?
|
As far as Tables are concerned, I love what bootstrap does, its neat and clean and systematic Especially Bootstrap's responsive-table : http://getbootstrap.com/css/#tables-responsive Semantic UI does something similar. http://semantic-ui.com/collections/table.html#responsive We should keep it simple and limited to things that are essential: , and a concern for a developer to do it properly.
Table-bordered is essential. Some Beginner CSS developers often find it troublesome to find best way to border tables without causing double borders at cell boundries. |
Tables must be supporting these features:
The first 5 can be achieved by adding the class to the tables. |
Adding to this ,The concept of "Sortable Tables" would be very useful in CRUD based web applications |
@prasunanand, Don't you think we'll require js for 'sortable table'. And we're not going to use it in css-chassit. |
Something i would like to see for tables is support for responsive table styles like in jquery mobile we have. http://demos.jquerymobile.com/1.4.5/table-reflow/ and jquery-archive/jquery-mobile#7700 a request for better styling on those |
@arschmitz ,Responsive tables would definetly be nice. |
@prasunanand , they are just attributes, we still need javascript to access them and do actual sorting, they provide a clearer mechanism to provide data! and we arent relying on html5 yet, I think. |
I think the data attribute is closer aligned with the UI toolkit phase than css framework. The point of Phase One is that Javascript isn't required to make anything work. |
@geekman-rohit data attributes work in all browsers the only difference is how you access them. |
@arschmitz , agreed, my point was they won't help in actual sorting without javascript, and we aren't considering javascript for phase one. But I stand corrected on the other point about not relying on html5 yet. Thanks |
will you consider styles for cross-table? |
Having |
@sfrisk are talking about rowspan and colspan by that covers multiple rows/columns? |
correct, @hirenmayani |
@sfrisk what difference does it make than single row/column (designing point of view)? Is it for making table responsive? |
@hirenmayani Depends on the content of your table, but it would be important to test those cases to make sure the table is still visually pleasing. |
Let's start simple. Let's get styles for the most basic table squared away first keeping the bordered/other variations in mind. I lean toward having the leanest styles possible. Some basic font styling and padding. Potentially a key border or two. I absolutely do not want to go to the extent bootstrap does with all of the modifiers (though, of the two, it has the better styling). I just put together a PR for this. #69 |
Agree on the Bootstrap point - while they do have excellent styling, I think that sometimes they offer a little too much to use. I think the goal should be some basic styling, that would be easy for someone to build off of. |
Base styling for tables
The text was updated successfully, but these errors were encountered: