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'
/>