Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular

selector parameters

Open
#366 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
360
Forks
132
PR merge metrics
No merged PRs in 30d

Description

Hi guys,

Thanks for this project! One question, can I use dynamic tables with the same table but using different selector?

What parameters does the **selector** receive?

```
TabularTables.ContractCompanies = new Tabular.Table({
name: "ContractCompanies",
collection: Companies,
columns: [
{data: "name", title: "Name"}
],
"paging": false,
"searching": false,
"info": false,
selector(params) {
return { };
}
});
```

Thanks in advance, Nicholls

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the selector option in the Tabular.Table configuration but no repository files or tests. Search the selector implementation and existing documentation or examples to determine which parameters are passed and how dynamic tables can use different selectors. Done means the supported parameters and a working usage example are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.