[Data Grid] how to add extended class in data grid for gridColumnLink

Forge Component
(32)
Published on 4 Dec (4 days ago) by OutSystems R&D
32 votes
Published on 4 Dec (4 days ago) by OutSystems R&D

Hi,

I tried adding extended class for gridColumn link.But I could not see any result.

Please suggest what to add Extended class (For adding addtional CSS class for cells)for getting the background color  as black for the gridColumnLink

Thanks,

Pavani


Solution

Hi Pavani,

It basically works the same as with adding style to other widgets through the style class property, except that you add "" since it's a string parameter you are passing into a webblock.

it is simple :

  • add the css class to your screen or module css
  • add that classname (as a string) to the ExtendedClass property of the column you want to change
  • you can even have multiple classes for one column, just separate them by a space

See attached oml, where I applied 2 same css classes to both a regular title, and a column of the datagrid

Good Luck,

Dorine

Solution