Meteor-Community-Packages / Meteor-Community-Packages/meteor-tabular
Is it possible to use Tabular inside of an Autoform?
- Dominant language
- JavaScript
- Stars
- 360
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
I had an interesting idea which would make a form I'm building much more usable. Let me give you an example:
I have a "Work Scope" object, which contains potentially a large number of Worksope Items. All the item (description) are predefined, but the Unit Price and Unit can be customized for each Work Scope. The form should look something like this:

The WorkScope data is stored in a schema like this:
```
workscope_item = new SimpleSchema({
ws_type: {
type: String, //this Id should actually come from WorkItemDefinitions
},
unit_cost: {
type: Number,
optional: true
},
quantity: {
type: Number,
optional: true
},
});
WorkScope.attachSchema(new SimpleSchema({
workscope_item: {
type: [workscope_item],
},
}));
```
The types/descriptions are coming from another Schema that looks like this:
```
WorkItemDefinitions.attachSchema(new SimpleSchema({
work_item_description: {
type: String,
},
default_unit_price: {
type: Number,
optional: true,
decimal: true
},
}));
```
Currently, I can generate an autoform that looks like a bunch nested forms:

However, this is unusable for a large number of WorkItems. A Tabular form would be ideal for this kind of User Interface. Can you point me in the right direction on how to do this?
Thanks in advance.
Contributor guide
Research direction
The issue describes integrating tabular editing with nested AutoForm data but names no repository files, tests, or entry points. It would require first determining whether this belongs in meteor-tabular and what supported behavior should be, then defining acceptance criteria for the form interaction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100