ThomasSiegmund / D3TableFilter

A table widget based on Max Guglielmi's "HTML Table Filter Generator" and D3.js
Other
65 stars 17 forks source link

ColumnsResizer extension doesn't works #20

Closed ns3115neha closed 7 years ago

ns3115neha commented 7 years ago

ColumnsResizer extension doesn't works

ThomasSiegmund commented 7 years ago

True, as stated in the news. This is currently not supported in Tablefilter.

ThomasSiegmund commented 7 years ago

A new implementation of column resizing based on the jQuery colResizable plugin has been added. There is also a test app in the examples. Please give it a try.

afpapa2 commented 7 years ago

I have two issues related column sizing.

1) By adding a vector of col_widths in tableprops (i.e. col_widths = c('100px', '100px', '100px', '200px')) I can change the initial widths within the Rstudio Rshiny application, but when I launch it via the browser the initial column widths set by me seem to be completely ignored

2) In trying to figure out the above problem I added an action button to the renderD3tf so that I could re-render it on command. It seems that the behavior of the column resizer switched from "overflow" to another resize option (even though when I print the TableProps it still shows "overflow". After resizing and rerendering enough times the columns started to scale proportionally instead of independently.

ThomasSiegmund commented 7 years ago

Sorry, this is a bit too complex. Please open separate issues and add reproducible examples.

Thanks

T.