Select through API

Select through API

trongarttrongart Posts: 222Questions: 51Answers: 0
edited September 2022 in Free community support

In this example, I use the Select extension with style: 'api' in order to initiate multi selection through double click on rows. The selection works, but it the info element does not show the number of rows selected. When style: 'multi', the number of rows selected is shown however.

Is there a way to show the number of rows selected with style: 'api' ?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,346Questions: 26Answers: 4,776
    Answer ✓

    See this thread. You can use infoCallback to display the selected rows, similar to what it would look like if the user selected the rows. Or remove the code that Colin pointed out but you will need to do this again if you upgrade the select library.

    Kevin

Sign In or Register to comment.