clitable icon indicating copy to clipboard operation
clitable copied to clipboard

Tips

Open MikeRow opened this issue 5 years ago • 1 comments

I would find usefull:

  • display() returns the number of rows
  • if the table is larger than screen it autoadapts

By the way, good job, thank you.

MikeRow avatar Apr 17 '20 09:04 MikeRow

display() returns the number of rows

^-- Unless I'm misunderstanding, you can count the number of rows in the array you pass to injectData() right? You could modify this library to have a new function to get the count, but it seems like extra work.

if the table is larger than screen it autoadapts ^-- I don't have a suggestion for this, as there are many variables that would go into even possibly attempting this, but I've implemented the centering of the table if the data is smaller than the width if that is something you're interested in. You can either PR from my fork to yours, use my fork, or wait until a pending PR I have on this library for something else is merged and then I can submit that PR on this library as well.

conrad10781 avatar Sep 01 '23 15:09 conrad10781