DillonHammill / DataEditR

An Interactive R Package for Viewing, Entering Filtering and Editing Data
https://dillonhammill.github.io/DataEditR/
384 stars 40 forks source link

Cannot hide upload/download options in Shiny #19

Closed towananalytics closed 3 years ago

towananalytics commented 3 years ago

Firstly - thank you for creating this package, I have been searching for something like this for a long time! It is so easy to use with Shiny!

I have encountered the following minor issue:

hide = TRUE argument does not seem to hide the download/upload options when running dataEditServer() directly from shiny.

My app uses a separate download/upload option in a side panel, which works with the DataEditoR to show the uploaded data but I can't seem to disable/suppress the default view from above the table (see attached image).

table

DillonHammill commented 3 years ago

It is difficult to help without a reproducible example. Do you have some code you can share?

These UI elements come from the the dataInput module not the dataEdit module. Perhaps you need to pass hide = TRUE to dataInputServer().

towananalytics commented 3 years ago

Thanks for the response - I realised that I didn't need the dataInputServer() - I'm passing data via another method - which of course removed the highlighted area I showed above...

This is not an issue - thanks again.