jQuery UI Widgets Forums Grid Change location field date in grid

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 4 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Change location field date in grid #104245

    nostromo
    Participant

    Dear, I have a date field within a grid. I need to change the location of the date to chile.

    What is the correct way to do it?

    Should we use globalize.culture.arn-CL.js?

    From already thank you very much.

    My code:

    $(“#muestras”).jqxGrid(
    { width: 600,
    height: 300,
    editable: true,
    source: dataAdapter,
    showtoolbar: true,
    columns: [
    { text: “DATE”, dataField: “fecha_muestreo”, columntype: ‘datetimeinput’, cellsformat: ‘dd-MM-yyyy’ }

    Change location field date in grid #104251

    Martin
    Participant

    Hello nostromo,

    If you need to change only the date format then setting the cellsformat property of the columns would be enough.
    Otherwise, you can use globalize.culture.arn-CL.js or create your own localization object with what you need.
    Here is an Example.

    Best Regards,
    Martin

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.