bastilian-tabletools
    Preparing search index...

    Function useRadioSelect

    • Provides radio select props for table tools.

      Parameters

      • Optionaloptions: { onRadioSelect?: Function; total?: number }

        TableTools options

        • OptionalonRadioSelect?: Function

          A function to call when a row is selected

        • Optionaltotal?: number

          The total of items to determine wether or not to show the radio buttons

      Returns object

      { onRadioSelect }, or {} when disabled