Login Register

HELLO? IS THERE ANYONE THERE???? dojox.grid.editors.TimeTextBox

Has anyone gotten the TimeTextBox to work in a grid? Any assistance would be greatly appreciated.

My JSON data is in the format of 9:53 A, 10:14 P, etc ...

this is the TimeTextBox snippet from my gridLayout:

{name: 'Time In', width: '15%', field: 'timeIn', editor: dojox.grid.editors.TimeTextBox , constraint: {formatLength: 'short'}},

I've also tried:

{name: 'Time In', width: '15%', field: 'timeIn', editor: dojox.grid.editors.TimeTextBox , constraint:
{timePattern:'h:mm:ss a'}},

Figured it out myself ...

There's something missing ...