Table style

Find and share HowTos to various installations / configurations!
17 posts • Page 1 of 2
AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Table style

Post by AGorbatykh »

How can I change border style of a table or how can I hide the gray border? (WinCC OA 3.14 Path 4)

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Table style

Post by mkoller »

yoou mean the rectangular outermost border ? currently you can not change it.

AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Re: Table style

Post by AGorbatykh »

Sadness... Ok, but WebClient as I understand got his own style for any elements. How can I change table style in WebClient (may be there's *.css-file where can I overload style or something like that)?

m.sabitov
Posts:23
Joined: Fri Feb 21, 2014 7:20 am

Re: Table style

Post by m.sabitov »

you can use CSS
see attach Image

AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Re: Table style

Post by AGorbatykh »

Nice. And how to do it?

m.sabitov
Posts:23
Joined: Fri Feb 21, 2014 7:20 am

Re: Table style

Post by m.sabitov »

create css file in config folder with this code:

QTableView
{
border: 0px solid #ffffff;
background-color: #fffafa;
gridline-color: #fffafa;

}

You can searching CSS in help for additional info

AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Re: Table style

Post by AGorbatykh »

Thanks. Useful!

AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Re: Table style

Post by AGorbatykh »

Very nice. Now I need to overload Trend-widget stile (remove black border). How can I do it?
QTrend, QTrendView,Trends, TrendsView doens't work. May be smb knows Trends-widget name?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Table style

Post by mkoller »

It's a non-standard Qt derived class with the name TrendQT

AGorbatykh
Posts:59
Joined: Thu Dec 17, 2015 1:01 pm

Re: Table style

Post by AGorbatykh »

Thanks, it's work.

17 posts • Page 1 of 2