Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Rounded corners in grid

Hello,

Is this possible to make corners of a grid rounded? My grid is placed inside another grid, which is placed on listview component:

Image

I added CSS asset to this grid:

-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;

but with no success. Can you please help me?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rounded corners in grid

Hello! What selector for your CSS styles did you use?

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Rounded corners in grid

Hmm. I fact none. Since I applied it directly on the grid.
Will ".show-grid" do the job?

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Rounded corners in grid

Hi again Maryna,

Unfortunately I haven't found the right selector. Tried by class, and id, none of them worked, for example this one:

.PickFoodIngridients_EqFrame
{
-webkit-border-radius: 10px; !important;
-moz-border-radius: 10px; !important;
border-radius: 10px; !important;
}

PickFoodIngridients {Name of my page}
EqFrame {Name of grid in question}

Is this possible? I tried to test styling directly in the Chrome browser and the border-radius also didn't make any change.
Can you give me some more clues?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rounded corners in grid

border-radius doesn't work for tables with border-collapse: collapse. You can add class for table for example roundedTable and describe it in CSS pre.roundedTable {
border-collapse: separate !important;
border: 2px green solid !important;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}/prehttp://docs.appery.io/documentation/w...

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Rounded corners in grid

You got it right Maryna. Thanks!!!

Image

Return to “Issues”