cancel
Showing results for 
Search instead for 
Did you mean: 

Clear InputFiled

Former Member
0 Kudos

Hi,

I am using InputField as TableCellEditor of type float for a table. I am getting 0 as default value in application when executed. But, I don't want zero to appear, instead of that I want InputField to appear as blank or on click in InputField zero should disappear.

Can anybody help in this case?

Regards,

Vaibhav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Make set

wdContext.nodename().setLeadselection(-1);

this might helps u .

thanks,

Lohi.

Message was edited by:

Lohitha M

Former Member
0 Kudos

Hi Lohitha,

Thanks a lot replying.

Can you elaborate your suggestion?

<b>Make set

wdContext.nodename().setLeadselection(-1);</b>

Still am not able to blank or clear the InputField or on click disappear zero.

Regards,

Vaibhav

Answers (1)

Answers (1)

Former Member
0 Kudos

Hai,

bind the context attribut of type String to input field.

when you read that from table type convert it into float String.valueOf("");

make string value as null defualt

regards,