Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to set the cell format of the font? (Read 3674 times)
wangzh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
How to set the cell format of the font?
Apr 29th, 2009 at 7:26am
Print Post  
hi stoyan,
    I want to set the cell's font by javascript on client-side.But I do not find ways to set.
    I found the set font method of the tablenode.Can I set up font for a cell on client-side, rather than all cells?
    How can i do?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to set the cell format of the font?
Reply #1 - Apr 29th, 2009 at 9:22am
Print Post  
Hi,

Try with tableNode.getCell(col, row).setFont(...).

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
wangzh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
Re: How to set the cell format of the font?
Reply #2 - Apr 30th, 2009 at 1:30am
Print Post  
hi,
I try with tableNode.getCell(col, row).setFont(...). But prompt script error,Object does not support this property or method.
How can i do?
thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to set the cell format of the font?
Reply #3 - Apr 30th, 2009 at 7:58am
Print Post  
It seems the cell.font attribute is not available in the client-side api. We'll add it in the next few days.

Stoyan
  
Back to top
 
IP Logged
 
wangzh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 25
Joined: Apr 25th, 2009
Re: How to set the cell format of the font?
Reply #4 - May 4th, 2009 at 1:36am
Print Post  
hi stoyan,
    I would like to ask How long will it take to solve this problem ?
    I am more anxious.thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to set the cell format of the font?
Reply #5 - May 4th, 2009 at 8:39am
Print Post  
This version adds getFont and setFont to the Cell class:
https://mindfusion.eu/_beta/netdiagjar_301beta.zip
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint