Yihui Xie
705a8666be
iDisplayLength == -1 means "display all data" ( #400 )
...
we can use this feature via several ways, e.g.
- renderDataTable(..., options = list(bPaginate = FALSE))
- iDisplayLength = -1
- aLengthMenu = list(c(10, 30, -1), list(10, 30, 'All'))
2014-02-24 23:31:28 -06:00
Yihui Xie
9167905118
respect the bRegex option (as well as bRegex_j for individual columns)
...
however, this option is not part of the initialization options, so actually users can never use it...
#400
2014-02-24 23:29:10 -06:00
Yihui Xie
bdeb6734d8
data.options is null by default
2014-02-24 21:46:50 -06:00
Yihui Xie
9a7b042594
respect the individual bSearchable_j options in datatables
2014-02-24 21:02:25 -06:00
Winston Chang
7aea256fd8
Use YYYY/MM/DD format only as a fallback
2014-02-24 16:43:49 -06:00
Yihui Xie
857b5e6932
Merge pull request #406 from wch/date-ie8
...
Add function for handling date strings in IE8
2014-02-24 16:24:35 -06:00
Winston Chang
1a2d675439
Add function for handling date strings in IE8
2014-02-24 16:02:57 -06:00
Yihui Xie
0c749643de
Merge pull request #405 from jcheng5/bugfix/ie8-debounce
...
Fix debounce error in IE8
2014-02-24 15:46:03 -06:00
Winston Chang
09bb1548f9
Fixes for jshint
2014-02-24 15:35:01 -06:00
Joe Cheng
5ffe531844
Fix debounce error in IE8
...
In the repo https://github.com/rstudio/shiny-testapp/ the test app
called "setinput" threw errors in IE8 due to the debouncer getting
triggered incorrectly. Essentially Debouncer.$invoke was being
called twice without an intervening normalCall or immediateCall,
which caused apply to be called with this.args === null. Upon
careful inspection/debugging it seems like this may be a bug in the
IE8 implementation of setTimeout/clearTimeout:
http://stackoverflow.com/questions/5853571/clarifying-cleartimeout-behavior-in-ie
In any case, the workaround is to check for a null timer id, which
means we tried to clear the timer at least.
2014-02-24 13:14:17 -08:00
Yihui Xie
fab24a3200
httpuv 1.2.3 is in marutter precise ppa now
...
hopefully this can save some time for travis ci
2014-02-23 11:09:54 -06:00
Yihui Xie
899d5e9d1d
spent two hours on this weird issue of disappearing checkboxes and radio buttons, just to find two missing backslashes for <label>
...
http://api.jquery.com/jQuery/#creating-new-elements
2014-02-22 01:01:49 -06:00
Joe Cheng
ba510884f2
Avoid using browser URL with host of 0.0.0.0
...
(reviewed by @jmcphers)
2014-02-21 14:58:19 -08:00
Joe Cheng
78e8df8e17
Fix tags$head + renderUI in IE8, which was broken
...
Repro case: https://github.com/rstudio/shiny-testapp/tree/master/dynamic_singletons
Reviewed by @jmcphers
2014-02-21 10:15:03 -08:00
Yihui Xie
deba1609c3
implement bSearchable for individual columns ( #400 )
...
if a column is not searchable, hide its search box
2014-02-20 18:29:44 -06:00
Yihui Xie
88d2425ca3
respect the bFilter option: when it is false, do not show the search boxes
2014-02-20 18:21:36 -06:00
Yihui Xie
7117f9e058
closes #392 : options in renderDataTable() can also take a function to return a list
2014-02-20 16:55:44 -06:00
Yihui Xie
c21c407416
a few cosmetic changes
...
= to <-, and camelCase instead of under_score
2014-02-20 16:44:09 -06:00
Yihui Xie
4b4ad42063
xtable was built from R < 3.0.0 in the official ubuntu repo hence fails to load
2014-02-20 15:09:42 -06:00
Yihui Xie
474d514c7d
the httpuv binary is not in the marutter/c2d4u PPA yet
...
we can wait for a couple of days and revert this commit
2014-02-20 14:48:08 -06:00
Yihui Xie
6239466da8
klutometis/roxygen#191 has been fixed, so no longer need explicit @usage
2014-02-20 14:30:51 -06:00
Yihui Xie
7746d75582
bug fix: when evalOptions is of length 1, toJSON() converts it to a scalar; we need to use I() to make sure it is always a vector so that we can later $.each()
2014-02-20 14:24:51 -06:00
Yihui Xie
642c9ded08
install some R package dependencies through apt-get instead of R to save time
2014-02-20 13:42:39 -06:00
Joe Cheng
e0ae931ddd
Merge pull request #402 from rstudio/bugfix/ie8-compatibility
...
Bugfix/ie8 compatibility
2014-02-20 10:24:10 -08:00
Jonathan McPherson
0d7727a405
fix Markdown content extraction on IE8
2014-02-20 10:22:43 -08:00
Joe Cheng
28f689498a
fix browser height detection and CSS on IE8
2014-02-20 09:16:18 -08:00
Yihui Xie
eb8fec7f2d
when searching is turned on, we need to make sure the filtering indices i are smaller than nrow(filtered data) instead of original data
...
this fixes the bug reported at https://groups.google.com/forum/#!topic/shiny-discuss/xk2Gh7KJQBM
2014-02-19 23:09:25 -06:00
Yihui Xie
2e16fa1d70
fixes #401 : pass numbers as character strings in updateNumericInput() to preserver numeric precision when possible
2014-02-19 22:11:39 -06:00
Jonathan McPherson
1b856c4909
use IE8-compatible events; turn off highlighting in IE8
2014-02-19 16:45:58 -08:00
Jonathan
585ad30af1
Merge pull request #396 from jcheng5/bugfix/395-monospace-fonts-qt
...
Fix issue #395 : Monospace fonts broken on QtWebKit
2014-02-19 16:32:38 -08:00
Joe Cheng
c0cdc4083c
Merge pull request #397 from yihui/select2
...
Selectize.js
2014-02-19 15:45:56 -08:00
Joe Cheng
9b9db4f161
Merge pull request #398 from jcheng5/feature/suppress-tag-indent
...
Add indent argument to format.shiny.tag
2014-02-19 15:21:51 -08:00
Joe Cheng
84a1d8d25e
Add comment about format.shiny.tag's indent param
2014-02-19 15:21:28 -08:00
Yihui Xie
d3115a3bf3
add selectize=TRUE to selectInput(), instead of adding a separate function selectizeInput(), per suggestion of @jjallaire
2014-02-19 12:04:23 -06:00
Yihui Xie
964789e9a6
add a note in the NEWS that DataTables also works for IE8 now
2014-02-19 11:58:34 -06:00
Yihui Xie
eeded51ff8
IE8 does not have map() and forEach() methods
...
use $.each() and $.map() instead
2014-02-19 11:58:34 -06:00
Yihui Xie
8f24f1b4d6
localize es5-shim.js
2014-02-19 11:58:34 -06:00
Yihui Xie
ad910a295a
For IE8, $.text() does not work on <script>, so use $.html() instead
2014-02-19 11:58:34 -06:00
Yihui Xie
cf14c6b1e9
add es5-shim.js for IE8
2014-02-19 11:58:34 -06:00
Yihui Xie
49da114caa
add a note about the I() options in selectizeInput()
2014-02-19 11:58:34 -06:00
Yihui Xie
b8376ebbf7
it is safer to evaluate the string inside ()
...
e.g. one cannot directly evaluate {a: 1, b: 2}, although it is legitimate JSON; eval("({a: 1, b: 2})") always works
2014-02-19 11:58:33 -06:00
Yihui Xie
29701d7295
apply checkAsIs() to selectizeInput(), and store the names in data-eval in the script
...
note we switched the order of {} and config.text() in $.extend(), so that users can overwrite the default options like labelField, valueField, ...
2014-02-19 11:58:33 -06:00
Yihui Xie
16279695a9
factor out the code to determine which options should be evaluated into a utility function checkAsIs(), so that it can be applied to selectizeInput() as well
2014-02-19 11:58:33 -06:00
Yihui Xie
999fc86bc6
news for selectizeInput()
2014-02-19 11:58:33 -06:00
Yihui Xie
0276d533fb
the search field must be renamed accordingly
2014-02-19 11:58:33 -06:00
Yihui Xie
b77fc34a7b
new function selectizeInput() to use selectize.js
...
closes #287
2014-02-18 23:25:25 -06:00
Joe Cheng
60c450d57e
Add indent argument to format.shiny.tag
2014-02-18 12:55:11 -08:00
Joe Cheng
73411c75db
Fix staticdocs test on Linux
2014-02-18 12:52:59 -08:00
Yihui Xie
8d146f7dff
Revert "math expressions may come in through renderUI()/uiOutput(), in which case we have to re-typeset the math expressions"
...
This reverts commit 58471c6971 .
2014-02-17 18:52:25 -06:00
Yihui Xie
5c34aa0bb5
remove includeMathJax() and use withMathJax() instead, per suggestion of @jcheng5
2014-02-17 18:52:25 -06:00