CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

SetCellHtml

by TheoLang » 14 Mar 2017 19:04

Hi,

i want to use the spreadsheet to visualize data.

I can use "SetCellValue" to set values. But i also want to have colors and other formattings.
I tried to use "SetCellHtml" but that doesn't work.

Or may be it is better to write the complete sheet in json format and import it ?

Best Regards
Theo
TheoLang
 
Posts: 65
Joined: 07 Jul 2013 20:23

by Alexander Bulei » 15 Mar 2017 12:21

Hi TheoLang,

But i also want to have colors and other formattings.


You need to use the ToggleCellStyle procedure, to set your custom css class, and then, create the css rule for that class.

But, I have detected some issues with generation of js code on that procedure.
I'll fix it for next beta build.

Thanks.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQSpreadSheet

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.