You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by krishnanand thiyadath <at...@gmail.com> on 2008/09/08 13:25:29 UTC

adding prompt box to cells

Hi Guys,

Does any one know, how to set input message to a cell using POI. This input
message is shown, when the cell is selected.

I tried using HSSFDataValidation class. But it is throwing me
NullPointerException.
My datavalidation type is DATA_TYPE_ANY and my cell doesnt have firstformula
or secondformula.
Since i dont give firstformula or secondformula value, i am getting
NullPointerException.

Is there any way to set Input Message for datavalidation type DATA_TYPE_ANY.

-- 
with thanks,
krishnanand.