You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"filterValue", '"petal"', "column filter value (new in v0.3.0)",
245
-
"setFilter", 'function setFilter(value: any)', tagList("function to set the column filter value", "(set to ", tags$code("undefined"), " to clear the filter) (new in v0.3.0)")
244
+
"filterValue", '"petal"', "column filter value ",
245
+
"setFilter", 'function setFilter(value: any)', tagList("function to set the column filter value", "(set to ", tags$code("undefined"), " to clear the filter)")
246
246
)
247
247
248
248
propsTable(columnProps)
@@ -254,12 +254,12 @@ propsTable(columnProps)
254
254
stateProps <- dplyr::tribble(
255
255
~Property, ~Example, ~Description,
256
256
"sorted", '[{ id: "Petal.Length", desc: true }, ...]', "columns being sorted in the table",
257
-
"page", "2", "page index (zero-based, new in v0.3.0)",
258
-
"pageSize", "10", "page size (new in v0.3.0)",
259
-
"pages", "5", "number of pages (new in v0.3.0)",
260
-
"filters", '[{ id: "Species", value: "petal" }]', "column filter values (new in v0.3.0)",
261
-
"searchValue", '"petal"', "table search value (new in v0.3.0)",
262
-
"selected", '[0, 1, 4]', "selected row indices (zero-based, new in v0.3.0)",
"selected", '[0, 1, 4]', "selected row indices (zero-based)",
234
234
"pageRows", '[{ Petal.Length: 1.7, Species: "setosa" }, ...]', "current row data on the page",
235
235
"sortedData", '[{ Petal.Length: 1.7, Species: "setosa" }, ...]', "current row data in the table (after sorting, filtering, grouping)",
236
236
"data", '[{ Petal.Length: 1.7, Species: "setosa" }, ...]', "original row data in the table",
@@ -271,7 +271,7 @@ colDef(
271
271
function(column, state) {
272
272
// input:
273
273
// - column, an object containing column properties
274
-
// - state, an object containing the table state (optional, new in v0.3.0)
274
+
// - state, an object containing the table state (optional)
275
275
//
276
276
// output:
277
277
// - content to render (e.g. an HTML string)
@@ -287,10 +287,10 @@ colDef(
287
287
```{r, echo=FALSE, asis=TRUE}
288
288
columnProps <- dplyr::tribble(
289
289
~Property, ~Example, ~Description,
290
-
"id", '"Petal.Length"', "column ID (new in v0.3.0)",
291
-
"name", '"Petal Length"', "column display name (new in v0.3.0)",
292
-
"filterValue", '"petal"', "column filter value (new in v0.3.0)",
293
-
"setFilter", 'function setFilter(value: any)', tagList("function to set the column filter value", "(set to ", tags$code("undefined"), " to clear the filter) (new in v0.3.0)"),
290
+
"id", '"Petal.Length"', "column ID",
291
+
"name", '"Petal Length"', "column display name",
292
+
"filterValue", '"petal"', "column filter value",
293
+
"setFilter", 'function setFilter(value: any)', tagList("function to set the column filter value", "(set to ", tags$code("undefined"), " to clear the filter)"),
294
294
"column", '{ id: "Petal.Length", name: "Petal Length", filterValue: "petal" }', "column info object (deprecated in v0.3.0)",
295
295
"data", '[{ Petal.Length: 1.7, Petal.Width: 0.2, _subRows: [] }, ...]', "current row data in the table (deprecated in v0.3.0)"
296
296
)
@@ -334,7 +334,7 @@ colDef(
334
334
function(column, state) {
335
335
// input:
336
336
// - column, an object containing column properties
337
-
// - state, an object containing the table state (optional, new in v0.3.0)
337
+
// - state, an object containing the table state (optional)
338
338
//
339
339
// output:
340
340
// - content to render (e.g. an HTML string)
@@ -390,7 +390,7 @@ reactable(
390
390
function(rowInfo, state) {
391
391
// input:
392
392
// - rowInfo, an object containing row info
393
-
// - state, an object containing the table state (optional, new in v0.3.0)
393
+
// - state, an object containing the table state (optional)
394
394
//
395
395
// output:
396
396
// - content to render (e.g. an HTML string)
@@ -405,11 +405,11 @@ reactable(
405
405
```{r, echo=FALSE, asis=TRUE}
406
406
rowInfoProps <- dplyr::tribble(
407
407
~Property, ~Example, ~Description,
408
-
"values", '{ Petal.Length: 1.7, Species: "setosa" }', "row data values (new in v0.3.0)",
408
+
"values", '{ Petal.Length: 1.7, Species: "setosa" }', "row data values",
409
409
"row", '{ Petal.Length: 1.7, Species: "setosa" }', tagList("same as ", tags$code("values"), " (deprecated in v0.3.0)"),
410
410
"index", "20", "row index (zero-based)",
411
411
"viewIndex", "0", "row index within the page (zero-based)",
412
-
"expanded", "true", "whether the row is expanded (new in v0.3.0)",
412
+
"expanded", "true", "whether the row is expanded",
0 commit comments