Sigma Php Ajax framework, Ajax Components, GUI Builder
February 04, 2012, 02:28:04 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Sigma Php Ajax framework, Ajax Components, GUI Builder
>
Sigma Visual GUI Builder & Library
>
Sigma Visual - Q&A
(Moderators:
steven
,
linb
) >
treeGrid type "number" don't work
Pages: [
1
]
« previous
next »
Print
Author
Topic: treeGrid type "number" don't work (Read 564 times)
gikotim
Sr. Member
Posts: 49
treeGrid type "number" don't work
«
on:
March 07, 2010, 02:09:02 AM »
Hi!
when I specify "number" as type in a treeGrid I can only enter numbers, BUT no sign. It's not possible to enter -12.34
This looks like a bug to me.
Kind regards
Logged
linb
Administrator
Hero Member
Posts: 433
Re: treeGrid type "number" don't work
«
Reply #1 on:
March 07, 2010, 04:55:35 PM »
The latest code in svn fixed this bug.
Logged
gikotim
Sr. Member
Posts: 49
Re: treeGrid type "number" don't work
«
Reply #2 on:
March 07, 2010, 10:37:26 PM »
yes and no.
It's getting worse: -0.4 works now
BUT: -0.000045 is just rounded to 0 !!
every number smaller than two digits gets rounded.
Logged
linb
Administrator
Hero Member
Posts: 433
Re: treeGrid type "number" don't work
«
Reply #3 on:
March 07, 2010, 11:19:26 PM »
The default precision of ComboInput is 2, you should set precision property to this cell(or header, or row)
editorProperties:{ precision:8 }
Logged
gikotim
Sr. Member
Posts: 49
Re: treeGrid type "number" don't work
«
Reply #4 on:
March 07, 2010, 11:33:16 PM »
sorry, I don't know how to specify this.
SPA.tg_param.editorProperties={"precision":"8"};
don't work. Can you help me?
Logged
linb
Administrator
Hero Member
Posts: 433
Re: treeGrid type "number" don't work
«
Reply #5 on:
March 08, 2010, 02:11:46 AM »
grid.setHeader([{id:'col1'},{id:'col2',type:number,editorProperties:{"precision":"8"}}]);
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News & Announcements
-----------------------------
Sigma Visual GUI Builder & Library
-----------------------------
=> Sigma Visual - Knowledge Share
=> Sigma Visual - Q&A
=> Bug Report & Wishlist
-----------------------------
Sigma Grid
-----------------------------
=> Sigma Grid - Q&A
=> Show Case
=> Bug Report & Wishlist
-----------------------------
Other
-----------------------------
=> AJAX & JavaScript
Loading...