no border

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
darkdragon83
User
Posts: 13

no border

Post 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


mobhar
User
Posts: 11905

Post by mobhar »

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


darkdragon83
User
Posts: 13

Post 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 ;)


mobhar
User
Posts: 11905

Post by mobhar »

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

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


Post Reply