Hi,
We are using SmartGWT Pro 3.0 version.
We have to display the Time as 2 digit Hour and 2 digit Minutes (HH:MM).
we have set the time item the timeDisplayFormat as follows:
TimeItem timeItem = new TimeItem(name, title);
timeItem.setType("time"); timeItem.setDisplayFormat(TimeDisplayFormat.TOSHORTPADDED24HOURTIME);
But it still display the Time in the formate [H] H:MM. ie it takes first Hour digit as Optional. We need to display it atleast as Zero.
Thanks in Advance.
We are using SmartGWT Pro 3.0 version.
We have to display the Time as 2 digit Hour and 2 digit Minutes (HH:MM).
we have set the time item the timeDisplayFormat as follows:
TimeItem timeItem = new TimeItem(name, title);
timeItem.setType("time"); timeItem.setDisplayFormat(TimeDisplayFormat.TOSHORTPADDED24HOURTIME);
But it still display the Time in the formate [H] H:MM. ie it takes first Hour digit as Optional. We need to display it atleast as Zero.
Thanks in Advance.
Comment