how to disable the selectAll option of a Select All Rows Checkbox

Hi All,

I have a use case to disable the selectAll option in Select All Rows Checkbox.Can anyone provide right javascript code to disable that specific options(selectAll & selectNone) in Select All Rows Checkbox.

  1. i placed Select All Rows Checkbox in async table.

  2. in display property we have Show Menu attribute and i set to true, to show the menu and it shows the menu with the options has below.

selectAll

selectNone

selectAllOnPage

selectAllOnPageNone.

I want to disable the selectAll and selectNone from the menu which is visible when the cursor is moved on the Select All Rows Checkbox.

could you please help me in providing the right javascript to disable those options.

Thanks in Advance,

Perhaps you would be better off using the “Control/Table/Table Row Tools/Select All Visible Rows Checkbox” control instead?