Hello!
I need help: to put in a cell: $value1 ($value2).
To do this, well suited htmlcolumn, at the same time you can make up the correct values.
But I need to make a numeric sort by the $value.
Ie fact that the cells have two options: caption and value.
Caption is displaying on the screen to the user, and the value is the sorting, calculating footer, etc.
Can I do it be means of NXGrid?
P.S. Sorry for my English, I'm from Russia.
Caption and value of a cell
Started by able, May 25 2009 01:14 PM
4 replies to this topic
#2
Posted 25 May 2009 - 01:20 PM
Hello Maxim,
I am not sure that I understand a question, but I will try to answer
Maybe setting SortType property of Column to stNumeric is what you need.
I hope that this helps. If not, please write me.
Best regards
I am not sure that I understand a question, but I will try to answer
Maybe setting SortType property of Column to stNumeric is what you need.
I hope that this helps. If not, please write me.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
#3
Posted 25 May 2009 - 02:02 PM
QUOTE (Boki (Berg) @ May 25 2009, 01:20 PM) <{POST_SNAPBACK}>
Hello Maxim,
I am not sure that I understand a question, but I will try to answer
Maybe setting SortType property of Column to stNumeric is what you need.
I hope that this helps. If not, please write me.
Best regards
I am not sure that I understand a question, but I will try to answer
Maybe setting SortType property of Column to stNumeric is what you need.
I hope that this helps. If not, please write me.
Best regards
Hello!
I can give an example:
I want: when I'm creating htmlcolumn and setting values such as:
CODE
0: <font color="red">80</font> <font color="green">(190)</font>
1: <font color="red">180</font> <font color="green">(190)</font>
2: <font color="red">10</font> <font color="green">(190)</font>
3: <font color="red">120</font> <font color="green">(190)</font>
4: <font color="red">240</font> <font color="green">(190)</font>
1: <font color="red">180</font> <font color="green">(190)</font>
2: <font color="red">10</font> <font color="green">(190)</font>
3: <font color="red">120</font> <font color="green">(190)</font>
4: <font color="red">240</font> <font color="green">(190)</font>
and after descending sort:
CODE
0: <font color="red">240</font> <font color="green">(190)</font>
1: <font color="red">180</font> <font color="green">(190)</font>
2: <font color="red">120</font> <font color="green">(190)</font>
3: <font color="red">80</font> <font color="green">(190)</font>
4: <font color="red">10</font> <font color="green">(190)</font>
1: <font color="red">180</font> <font color="green">(190)</font>
2: <font color="red">120</font> <font color="green">(190)</font>
3: <font color="red">80</font> <font color="green">(190)</font>
4: <font color="red">10</font> <font color="green">(190)</font>
when I'm setting SortType to stNumeric IDE raises exaption 'EConverError' (which was expected).
#4
Posted 25 May 2009 - 02:54 PM
#5
Posted 25 May 2009 - 03:47 PM
Hello Maxim,
I hope that this Article will help you.
Best regards
I hope that this Article will help you.
Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users