jQWidgets Forums

jQuery UI Widgets Forums Grid cell with date range

This topic contains 2 replies, has 2 voices, and was last updated by  bach 8 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • cell with date range #86435

    bach
    Participant

    I’m attempting to create a grid that has a column of date range selectors.
    columntype: ‘datetimeinput’,
    initeditor: function (row, cellvalue, editor) {
    editor.jqxDateTimeInput(
    {
    selectionMode: ‘range’,
    dropDownHorizontalAlignment: ‘right’,
    formatString: “MMM dd yyyy”
    });

    Almost works. It gives me the popup calendar with date range selection, but after the second date is selected the cell only displays the second date not the range. Is there a way to do this? I’d prefer to do the range in one cell instead of doing a start cell and an end cell if possible.

    cell with date range #86491

    Christopher
    Participant

    Hi bach,

    Yes, there is way to do it. Here’s how:
    https://www.jseditor.io/?key=xb-grid-datetimeinput-

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

    cell with date range #86493

    bach
    Participant

    Oh that’s perfect! Thanks Christopher

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

You must be logged in to reply to this topic.