Author Topic: changing background color of a cell  (Read 3173 times)

siva

  • Newbie
  • *
  • Posts: 1
    • View Profile
changing background color of a cell
« on: April 02, 2017, 02:42:58 pm »
Hi Sir,

when i view this in browser, i get [object Object] error. what i am missing? please help to resolve. this is my html page

Thanks
Siva

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: changing background color of a cell
« Reply #1 on: April 04, 2017, 11:45:27 am »
Code: [Select]
return {
            //can also return attr (for attributes), cls (for css classes) and text (for plain or html string) properties.
            style: 'font-size:20px;font-style:italic;'
};

This is supported in Pro version only.