jQWidgets Forums

jQuery UI Widgets Forums Getting Started Column sorting

Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Column sorting #62087

    sunny
    Participant

    1. Remove sort option is not enabled after clicking on sort Ascending or Descending.

    this is my column code.
    {
    text: ‘Season’, width: ‘8%’, dataField: ‘SeasonNumber’, editable: false, sortable: true, displayfield: ‘Season’, columntype: ‘combobox’, dropDownHeight: ‘250px’, cellclassname: cellclass,
    createeditor: function (row, value, editor) {
    editor.jqxComboBox({ source: [], displayMember: ‘SeasonNummber’, valueMember: ‘PKTitleID’, autoOpen: true });
    },
    initeditor: function (row, cellvalue, editor, celltext, cellwidth, cellheight) {
    var _editingRowData = $(“#IngestGrid”).jqxGrid(“getrowdata”, row);
    if (_editingRowData.Titles == null && _editingRowData.EpisodeTitle == 0) {
    ShowErrorNotifyMessage(“Please Select Title”);
    }
    else if (_editingRowData.Titles == null) {
    ShowErrorNotifyMessage(“Please Select Title”);
    }
    else if (_editingRowData.EpisodeTitle == 0) {
    ShowErrorNotifyMessage(“Please Select Episode Title”);
    }
    else {
    editor.jqxComboBox({ source: _seasonnumber, displayMember: ‘SeasonNummber’, valueMember: ‘PKTitleID’, autoOpen: true });
    }
    },
    },

    Actually we are facing problem columntype is combobox..in other coulmns working fine.

    regards
    sriakr vaydya

    Column sorting #62089

    Peter Stoev
    Keymaster

    Hello sriakr vaydya,

    Sorting is applied and removed when you click on a column header. This is not related to editor.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Column sorting #62163

    sunny
    Participant

    after clicking on sort Ascending or Descending option.remove sort option is showing disable mode.
    in grid am using sortable: true property

    Column sorting #62168

    Peter Stoev
    Keymaster

    Hello sriakr vaydya,

    We do not know how to achieve such behavior so please provide a jsfiddle.net example which demonstrates it.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Column sorting #62171

    sunny
    Participant

    http://jsfiddle.net/bnPLG/60/

    this is the js fiddle sample.

    Column sorting #62173

    Peter Stoev
    Keymaster

    Hello sriakr vaydya,

    I do not see a problem here. First Click Sorts A-Z, Second Click Sorts Z-A. Third Click Removes the Sort or you mean that you do it through the Popup Menu, not with Click?

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.