Select through API
Select through API
trongart
Posts: 222Questions: 51Answers: 0
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
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