Hi Frank,

On Sun, Jun 9, 2013 at 4:21 PM, Frank Ho <[email protected]> wrote:

> Hi,All
>     I placed a date field in a cell, and choosed a date.
>     In code, I got this cell via getCellByPosition(), then use
> getDisplayText, but it returned an empty string.
>     While if I placed a ListBox in this cell, then use getDisplayText, it
> can return the value correctly.
>     How can I get the value of date field in a cell?
>

try getDateValue which will return a Calendar and then format as you want
using normal Java date format classes.

I'm just guessing, but if your cell really is a date then the underlying
TextExtractor used in GetDisplayText may not work?



>     Thanks!



-- 
Cheers,

Ian C

Reply via email to