set "Text Format" invalid
set "Text Format" invalid
1.try set "Text Format" = Date , how can i set date format "yyyy-mm-dd".
advise:add a new property,"custom format"
2. how to use report.setVariable???
advise:add a new property,"custom format"
2. how to use report.setVariable???
Re: set "Text Format" invalid
Hello.
1. Sorry, but TextFormat does not work now. We are still working on this feature.
2. Here is a sample how to use setVariable
Thank you.
1. Sorry, but TextFormat does not work now. We are still working on this feature.
2. Here is a sample how to use setVariable
Code: Select all
report.setVariable("variableName", value);
Re: set "Text Format" invalid
Text Format use express "{Format("0:yyyy-mm-dd",today)} write code in each textbox
Re: set "Text Format" invalid
Hello, Pall.
Sorry, maybe we don't understand your question.
Could you describe it more detailed?
Thank you.
Sorry, maybe we don't understand your question.
Could you describe it more detailed?
Thank you.
Re: set "Text Format" invalid
no question now,thank "HigAley",I just test format display text,like date format yyyy-MM-dd,number format:0.00
on the designer,selected textbox,and select "data" from toolbar,it is same select "date" or not
on the designer,selected textbox,and select "data" from toolbar,it is same select "date" or not
Re: set "Text Format" invalid
Hello, Pall.
No, this is not the same.
We are working on TextFormat property now.
The Format() function come from .Net Framework. There will be no such function if Reports.JS. At least in the near future.
You should check all your report templates in Designer after import and do necessary changes there(add images and etc.).
Thank you.
No, this is not the same.
We are working on TextFormat property now.
The Format() function come from .Net Framework. There will be no such function if Reports.JS. At least in the near future.
You should check all your report templates in Designer after import and do necessary changes there(add images and etc.).
Thank you.
Re: set "Text Format" invalid
make an improvement of TextFormat property in new version 2015.2.9?
Re: set "Text Format" invalid
Hello.
Sorry, text format was not added to this build.
We are working on it now and do the best to add it in our next build.
Thank you.
Sorry, text format was not added to this build.
We are working on it now and do the best to add it in our next build.
Thank you.
-
- Posts: 1
- Joined: Tue Nov 24, 2015 8:27 am
Re: set "Text Format" invalid
I have an report using Stimulsoft js report, that It's data source is Json data, one of properties in this Json object, sometimes taged with html tagsm but when rendering this Json object, I occurred this Exception:
Connection 'Mail': After parsing a value an unexpected character was encountered: w. Path '[0].TextBody', line 29, position 86.
and my Json data path has this format
Connection 'Mail': After parsing a value an unexpected character was encountered: w. Path '[0].TextBody', line 29, position 86.
and my Json data path has this format
Code: Select all
[
{
"Subject": "Úáí",
"SenderName": "ÏÑíÇÝÊ ˜ääÏÇä",
"ReceiversName": "ÏÑíÇÝÊ",
"CcReceiversName": "ãåã",
"SentDate": "1393-03-03",
"Status":"1",
"HasAttachment":true,
"Priority":"1",
"Privacy":"1",
"SentDateString":"ÏíÑæÒ",
"IsForward":true,
"IsReplied":true,
"InboxId":"97002F44-BDC2-483D-A6CC-51A6479FB272",
"ReferenceNumber":"1",
"RefrenceDate":"1393-03-03",
"ReferenceHasNote":true,
"Labels":"test",
"IsRead":true,
"IsStarred":true,
"IsImportant":true,
"IsInInbox":true,
"PriorityTitle":"ãåã",
"PrivacyTitle":"ÓÑí",
"RefrenceId":"97002F44-BDC2-483D-A6CC-51A6479FB272",
"ReplyDeadLine":"1393-03-03",
"HasPrevious":true,
"TextBody": "<p><span style=\"background-color:rgb(231, 231, 231); color:rgb(51, 51, 51); font-family:fonixbyekan; font-size:14px\">مژده وصل تو کو کز سر جان بر خیزم طایر قدسم و از دام جهان برخیزم</span><br />\n<span style=\"background-color:rgb(231, 231, 231); color:rgb(51, 51, 51); font-family:fonixbyekan; font-size:14px\">بوفای تو که گر بنده خویشم خوانی از سر خواجگی کون و مکان برخیزم</span><br />\n<span style=\"background-color:rgb(231, 231, 231); color:rgb(51, 51, 51); font-family:fonixbyekan; font-size:14px\">یا رب از ابر هدایت برسان بارانی</span></p>\n"
}
]
Re: set "Text Format" invalid
Hello.
Sorry, but we couldn't reproduce your issue.
There is no any error in our current build.
Here is what we get:
Sorry, but we couldn't reproduce your issue.
There is no any error in our current build.
Here is what we get: