jQWidgets Forums

jQuery UI Widgets Forums React After applying column sort, unable to remove sorting

This topic contains 1 reply, has 2 voices, and was last updated by  ivanpeevski 1 year ago.

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

  • abhishekbhokare
    Participant

    Hello Team,

    I am using JqxGrid in my React application. In my case when I apply sorting on any column then I don’t get ‘Remove Sorting’ option enabled. For example If I apply ‘Sort Ascending’ and then if I want to remove the sorting then I am not getting that option enabled since that option stays disabled. Same happens in case of ‘Sort Descending’. The only option stays enabled are ‘Sort Ascending’ & ‘sort Descending’.
    Below are the props I am passing to the grid. Am I missing something here? Thanks.

    <JqxGrid
            ref={gridRef}
            width="100%"
            height={height}
            autoheight={false}
            source={gridConfig.source}
            columns={gridConfig.columns}
            columnsresize
            columnsheight={20}
            filterable={true}
            showfilterrow={true}
            altrows
            rowsheight={45}
            selectionmode={""}
            pageable={false}
            sortable={true}
            editable={gridConfig?.editable}
            enabletooltips
            onCellclick={onCellClicked}
            onCellvaluechanged={onCellvaluechanged}
            filterdelay={5000} // 5 seconds
            sorttogglestates='1'
          />

    ivanpeevski
    Participant

    Hi,

    This configuration seems fine to me. Are you using the latest version of jqwidgets?
    I created a sandbox with the same properties here – codesandbox Do you notice any differences with your Grid?

    Best Regards,
    Ivan Peevski

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.