How can I create a ToggleColumn to change status from the list page
I've tried with multiple solution to add a ToggleColumn to list page but didn't get a proper success for this.
Issues: Into the database side data is updating for the status column but in the list page toggle is not getting proper record and showing only active/inactive as a toggle.
Here is my code, is ther any problem or I'm missing something or else?
Issues: Into the database side data is updating for the status column but in the list page toggle is not getting proper record and showing only active/inactive as a toggle.
Here is my code, is ther any problem or I'm missing something or else?