Page 1 of 1

no border

Posted: Sun Oct 13, 2013 10:49 pm
by darkdragon83

Hi
I would like to remove or make transparent the border in listview page but not in Viewpage. It is possible?
Border In HTML -> Theme is called @tableborder but only a color is selectable.

Thanks in advance


Re: no border

Posted: Mon Oct 14, 2013 10:24 am
by mobhar

If you meant tableborder is the grid lines, then from "HTML" -> "Theme" -> "Grid Lines" -> "Show", choose: "None".


Re: no border

Posted: Mon Oct 14, 2013 5:18 pm
by darkdragon83

mobhar wrote:
"HTML" -> "Theme" -> "Grid Lines" -> "Show", choose: "None".

No changes.
I use multiple column sort type.
I tried this:

Server events -> Table specific -> Common -> Row_Rendered

$this->myfield->CellAttrs["style"] = "background-color:transparent"; border:0px;

It Works, but borders disappear in view page too, because the code is in Common section.
There isn't a row_rendered section in Table specific -> List page
How can i do?

Thanks fo reply ;)


Re: no border

Posted: Tue Oct 15, 2013 1:35 am
by mobhar

Then simply try this also in "Row_Rendered" server event:

if (CurrentPageID() != "view") {
$this->myfield->CellAttrs["style"] = "background-color:transparent"; border:0px;
}