You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the availableRowsPerPage property in DataTable2 only supports List. It would be beneficial to extend this to support string-based options, such as including an "All" option, allowing users to easily view all rows in the table.
Proposed Feature:
Allow availableRowsPerPage to accept List or List values or make it Map<String, int> _availableRowsPerPageMap = {
'2': 2,
'5': 5,
'10': 10,
'30': 30,
'100': 100,
'All': 65546, // "All" corresponds to all rows
}; .
Provide a built-in "All" option as a standard feature to display all rows.
Map string options to integer values internally, e.g., "All" could correspond to -1 or the total row count.
Benefits:
Enhances user experience by making row selection more intuitive.
Eliminates the need for custom implementations in each project.
Keeps the library flexible and user-friendly for developers who need more options.
The text was updated successfully, but these errors were encountered:
Description:
Currently, the
availableRowsPerPage
property inDataTable2
only supports List. It would be beneficial to extend this to support string-based options, such as including an "All" option, allowing users to easily view all rows in the table.Proposed Feature:
Allow
availableRowsPerPage
to accept List or List values or make it Map<String, int> _availableRowsPerPageMap = {'2': 2,
'5': 5,
'10': 10,
'30': 30,
'100': 100,
'All': 65546, // "All" corresponds to all rows
}; .
Provide a built-in "All" option as a standard feature to display all rows.
Map string options to integer values internally, e.g., "All" could correspond to -1 or the total row count.
Benefits:
Enhances user experience by making row selection more intuitive.
Eliminates the need for custom implementations in each project.
Keeps the library flexible and user-friendly for developers who need more options.
The text was updated successfully, but these errors were encountered: