Project

General

Profile

Bootstrap theme and WTableView

Added by Emeric Poupon over 8 years ago

Hello,

In the widget gallery, I noticed the WTable bootstrap example has a nice render (hover, grid, etc.)

I tried to get the same effects on my WTableView, without any success.

Do I have to clone the bootstrap's ".table" css entries to something else?

Regards,

Emeric


Replies (6)

RE: Bootstrap theme and WTableView - Added by Koen Deforche over 8 years ago

Hey Emeric,

A WTableView is not actually implemented using a

and thus does not offer these capabilities.

In our bootstrap theme we style WTableView to offer the same look as what bootstrap offers for tables, but not with as many options.

Which effects in particular would you like to see supported though?

Regards,

koen

RE: Bootstrap theme and WTableView - Added by Emeric Poupon over 8 years ago

Since a WTable is no a

, I guess that makes sense!

Basically, I would expect the WTableView to have the default bootstrap's table rendering (large margins, columns that nicely expand to the whole page, etc.)

And interesting options would be border swiching and hover.

For the first point, I think I can easily customize the WTableView using css?

Best Regards

RE: Bootstrap theme and WTableView - Added by Emeric Poupon over 8 years ago

Emeric Poupon wrote:

Since a WTable is no a

, I guess that makes sense!

I meant \"Since a WTableView is definately not a

, I guess that makes sense!\"

RE: Bootstrap theme and WTableView - Added by Martin Dyring-Andersen almost 7 years ago

I was about to post a msg asking for this (styling WTableView as bootstrap v3 table), when I stumbled on this thread.

It looks rather inconsistent to have bootstrap styled items mixed with WTableView(s).

Are there any shortcuts to do this 2 years later? :-)

BR,

Martin

RE: Bootstrap theme and WTableView - Added by Koen Deforche almost 7 years ago

Martin, are you looking to style WTableView with more bootstrap-like options like OP?

If you're seconding this, we should schedule it as a feature request.

RE: Bootstrap theme and WTableView - Added by Martin Dyring-Andersen almost 7 years ago

Hi Koen,

Yes I think that would be a great addition.

I guess(?) that the bootstrap theme is popular nowadays in Wt, so it seems sensible to be able to style the WTableView to look similar.

BR,

Martin

    (1-6/6)