Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWjQDBGrid DateFormat
#1
How can I format a date in the grid? I've tried different values in the DateFormat property but they don't have any effect. The field the column is connected to is of type DateTime.

Also the format displayed varies between browsers. In some browsers it displays as d/m/y, and in others m/d/y. I suspect this is a browser settings. But I would rather control the format myself than depend on a settings in the browser.
Reply
#2
Have you tried using a JavaScript solution to explicitly format the date before it gets displayed in the grid? That way, you can control the format yourself, regardless of the browser.
fnf features Boyfriend battling opponents through intense rap battles.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)