Closed GoogleCodeExporter closed 9 years ago
Original comment by sanjiv.j...@gmail.com
on 10 Feb 2009 at 9:53
Is there any way to remove the check on the value until this issue is fixed?
Original comment by ricard.i...@gmail.com
on 10 Feb 2009 at 9:56
This issue is not with SmartGWT, but with the sample code that has a custom
renderer.
This renderer needs to catch a parse exception in the event the user entered
data is
not a number.
populationField.setCellFormatter(new CellFormatter() {
public String format(Object value, ListGridRecord record, int rowNum, int
colNum) {
NumberFormat nf = NumberFormat.getFormat("0,000");
return nf.format(((Number) value).longValue());
}
});
Original comment by sanjiv.j...@gmail.com
on 10 Feb 2009 at 10:12
The samples have been updated to handle alphanumeric data for numeric data
types.
Please confirm that this resolves your issue so that I can close this ticket.
Original comment by sanjiv.j...@gmail.com
on 10 Feb 2009 at 11:23
Works in my code, adding some test to be sure the data is what is supposed to
be. The
showcase online still have the issue
Original comment by ricard.i...@gmail.com
on 12 Feb 2009 at 12:56
The showcase code in SVN has been updated, and it has not yet been pushed to the
online demo. Will do it later this week. Closing this issue.
Original comment by sanjiv.j...@gmail.com
on 12 Feb 2009 at 1:15
Original issue reported on code.google.com by
ricard.i...@gmail.com
on 10 Feb 2009 at 9:49