Hi!
I have the following issue - the datasource for my ultragrid is a database table having a column called "quantity", of type integer.
I want that if the quantity is 0, do display in the grid "none", but i get a type conversion error, and nothing is displayed in that cell.
How could I solve this issue ?
Thanks!
What did you try to do when you got the error?
You can solve it in several ways, but I think the simplest one is to add a ValueList with one item with "none" as text and zero as value.
I was trying to do
cell.value = "***" ;
where cell belonged to a integer column.
I'm not sure that a value list is the best solution, because in some cases I establish wether is 0 or "***" based on some special conditions.
Can't I change a cell type..or format?