AnalytixWare / ShinySky

Various UI widgets/components not part of Shiny e.g. alerts, styled buttons
Other
188 stars 65 forks source link

Hands on Table Add New Row? #13

Open Bevos opened 9 years ago

Bevos commented 9 years ago

Thank you for the ShinySky package it has a lot of useful tools including the Hands On Table. I was looking at the hands on table website for assistance on how to add a new row, but I was unable to see how to add this functionality to ShinySky's hands on table.

Could you please let me know if it is currently possible to add/remove rows from a hands on table in a Shiny application?

http://handsontable.com/

xiaodaigh commented 9 years ago

It's possible but not through the ShinySky package at the momemnt. Have you checked out the shinytable package? It might be possible there. I am not sure.

I have some customised code that can insert rows but that involves writing customised javascript code. It is something like this ht.alter('insert_row', index = r) where ht is the handsontable object.

Unfortunately I can't help further at the moment nor promise that I can help implement this feature soon

cloudarch commented 9 years ago

Hi , Is it possible to create dropdown/lookup values (i.e. select2/selectInput) for cells in handson table. The goal would be to limit the values the user can update for cells in handson table by injecting additional Shiny/Java script. Below is my stackoverflow question on this topic. Appreciate your insight.

http://stackoverflow.com/questions/30173352/shiny-r-handsontable-shinytable-with-selectinput-rows