Bug #19630
FE - React - Datatable sorting column should not return value when no sorting
Status: | Closed | Start date: | 31 January 2024 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | chok yee fan | % Done: | 0% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
issue
-----
any module -> click search -> click on table title -> datatable return sortValue e.g. [desc:false, id:"orgTypeName"] -> click title again -> datatable return sortValue e.g. [desc:true, id:"orgTypeName"] -> click title again -> datatable return sortValue e.g. [desc:false, id:"orgTypeName"].
expected
-----
any module -> click search -> click on table title -> datatable return sortValue e.g. [desc:false, id:"orgTypeName"] -> click title again -> datatable return sortValue e.g. [desc:true, id:"orgTypeName"] -> click title again -> datatable return sortValue null/undefined.
the main objective do not pass columnSortingBean to web service when no sorting.
History
#1 Updated by Amirul Umar Pandai 11 months ago
- Status changed from New to Resolved
- Assignee changed from Amirul Umar Pandai to Hazimi Muhammad
Remove columnSortingBean property on no sorting
#2 Updated by Hazimi Muhammad 11 months ago
- File WhatsApp Image 2024-02-02 at 11.47.58 AM.jpeg added
- Status changed from Resolved to In Progress
- Assignee changed from Hazimi Muhammad to Amirul Umar Pandai
Scenario :
Click mleb function > click search -> click on table title MLEB System -> Not working
Click mleb function > click search -> click on table title Function Name -> Got the error as the screenshot
Issue :
Got error when to add new data
Expected :
should both data table working
#3 Updated by Hazimi Muhammad 11 months ago
Issue :
Click mleb function > click search -> click on table title MLEB System -> Not working
Click mleb function > click search -> click on table title Function Name -> Got the error as the screenshot
Expected :
should both data table working
#4 Updated by Amirul Umar Pandai 11 months ago
- Status changed from In Progress to Resolved
- Assignee changed from Amirul Umar Pandai to Hazimi Muhammad
MLEB System Not working - accessorKey was not provided
Function Name error - accessorFn was used instead of accessorKey
Fix error in MLEB Function search page + remove React.useMemo from table pages
#5 Updated by Hazimi Muhammad 11 months ago
- Assignee changed from Hazimi Muhammad to chok yee fan
Check for MLEB Function search MLEB system and Function Name
Now working perfectly
#6 Updated by chok yee fan 11 months ago
- Status changed from Resolved to Closed
tested few modules and working fine