-
Couldn't load subscription status.
- Fork 7
Add
ig add [template] [name] adds a template by its ID and providing a name.
The add command is supported on existing project created with the Ignite UI CLI. You cannot use the add command before creating a project using the new command or using the step by step guide which is invoked by the ig command. Another way to use the add command is in a project created with the Angular CLI but only after executing ng add igniteui-angular which will add the Ignite UI CLI to the project.
The quickstart projects do not support the add command, meaning that you cannot add more components than the predefined ones for the given quickstart project.
module (v2.0.0)
module (alias: -m)
note: module argument is applicable only in Angular projects.
Path to the module.ts file, relative to the /src/app/ folder, for the module where the new component should be registered:
ig add grid newCombo --module=myModule/myModule.module.ts
skip-route (v3.2.0)
--skip-route (alias: -srk)
Don't auto-generate am app navigation route for the new component
Following is a table that demonstrates what Ignite UI for jQuery templates are available in the supported frameworks:
| Template | Code and description | jQuery | Angular | React |
|---|---|---|---|---|
| Grid | ||||
| grid |
ig add grid newGridFeatures choices: Sorting, Paging, Filtering
|
✅ | ✅ | ✅ |
| grid-custom |
ig add grid-custom newCustomGridFeatures choices: Sorting, Paging, Filtering, Selection, Updating, ColumnMoving, Summaries, Resizing, Hiding, GroupBy
|
✅ | ✅ | ✅ |
| grid-editing |
ig add grid-editing newGridEditingFeatures choices: Sorting, Paging, Filtering. Updating is enabled by default.
|
✅ | ✅ | ✅ |
| grid-export |
ig add grid-export newGridExportA template for exporting a Grid to Excel.Features choices: Sorting, Paging, Filtering, Summaries, Hiding
|
✅ | ✅ | ✅ |
| grid-templating |
ig add grid-templating newGridTemplatingFeatures choices: Sorting, Paging, Filtering
|
✅ | ✅ | ✅ |
| Hierarchical Grid | ||||
| hierarchical-grid |
ig add hierarchical-grid newHierarchicalGridFeatures choices: Sorting, Paging, Filtering
|
✅ | ✅ | ✅ |
| hierarchical-grid-custom |
ig add hierarchical-grid-custom newCustomHierarchicalGridFeatures choices: Sorting, Paging, Filtering, Selection, Updating, ColumnMoving, Summaries, Resizing, Hiding
|
✅ | ✅ | ✅ |
| hierarchical-grid-editing |
ig add hierarchical-grid-editing newHierarchicalGridEditingSorting, Paging, Filtering. Updating is enabled by default.
|
✅ | ✅ | ✅ |
| hierarchical-grid-export |
ig add hierarchical-grid-export newHierarchicalGridExportA template for exporting a Hierarchical Grid to Excel.Features choices: Sorting, Paging, Filtering, Summaries, Hiding
|
✅ | ✅ | ✅ |
| Tree Grid | ||||
| tree-grid |
ig add tree-grid newTreeGridA basic Tree Grid template.Features choices: Sorting, Paging, Filtering, Summaries, Hiding
|
✅ | ✅ | ✅ |
| tree-grid-custom |
ig add tree-grid-custom newCustomTreeGridA template allowing you to create a Tree Grid with enabled features of your choice.Features choices: Sorting, RowSelectors, Filtering, Updating, ColumnMoving, Resizing, Hiding
|
✅ | ✅ | ✅ |
| tree-grid-editing |
ig add tree-grid-editing newTreeGridEditingFeatures choices: Sorting, Filtering
|
✅ | ✅ | ✅ |
| tree-grid-export |
ig add tree-grid-export newTreeGridExportA template for exporting a Tree Grid to Excel.Features choices: Filtering, Summaries, Hiding
|
✅ | ✅ | ✅ |
| tree-grid-file-explorer |
ig add tree-grid-file-explorer newTreeGridFileExplorerFeatures choices: Sorting
|
✅ | ✅ | 🚧 #36 |
| Editors | ||||
| text-editor |
ig add text-editor newTextEditorThe text editor is a control that renders an input field which can be formatted for single or multiline input.
|
✅ | ✅ | ✅ |
| numeric-editor |
ig add numeric-editor newNumericEditorThe numeric editor is a control that renders an input field which only accepts numeric digits.
|
✅ | ✅ | ✅ |
| currency-editor |
ig add currency-editor newCurrencyEditorThe currency editor is a control which renders an input field which only accepts numeric values, formatted as various currency types.
|
✅ | ✅ | ✅ |
| mask-editor |
ig add mask-editor newMaskEditorThe mask editor is a control that renders an input field enforces input restrictions as determined by a given input mask.
|
✅ | ✅ | ✅ |
| date-picker |
ig add date-picker newDatePickerThe date picker allows you to have input field with dropdown calendar and specified by developer display date format.
|
✅ | ✅ | ✅ |
| Combo | ||||
| combo |
ig add combo newComboThe combo is a combo box control that offers auto-complete, auto-suggest, and rich editing capabilities.
|
✅ | ✅ | ✅ |
| Charts | ||||
| bar-chart |
ig add bar-chart newBarChartBar series template of Data Chart.
|
✅ | ✅ | ✅ |
| column-chart |
ig add column-chart newColumnChartColumn series template of Data Chart.
|
✅ | ✅ | ✅ |
| doughnut-chart |
ig add doughnut-chart newDoughnutChartThe Doughnut Chart allows for proportionally illustrating the occurrences of a variable. The inner radius of the control is configurable, and the Doughnut Chart’s series provides a built-in support for selecting and exploding its slices.
|
✅ | ✅ | ✅ |
| financial-chart |
ig add financial-chart newFinancialChartFinancial series template of Data Chart
|
✅ | ✅ | ✅ |
| funnel-chart |
ig add funnel-chart newFunnelChartThe Funnel Chart control provides functionality for displaying funnel charts in HTML5 web applications and sites based on the Canvas element and its associated API.
|
✅ | ✅ | ✅ |
| line-chart |
ig add line-chart newLineChartLine series template of Data Chart
|
✅ | ✅ | ✅ |
| pie-chart |
ig add pie-chart newPieChartThe Pie Chart provides functionality for displaying various kinds of charts in web applications based on the HTML5 Canvas element.
|
✅ | ✅ | ✅ |
| radial-chart |
ig add radial-chart newRadialChartRadial series template of Data Chart
|
✅ | ✅ | ✅ |
| scatter-chart |
ig add scatter-chart newScatterChartScatter series template of Data Chart
|
✅ | N/A | ✅ |
Following is a table that demonstrates what Ignite UI for Angular templates are available:
| Template | Code and description |
|---|---|
| Grids & Lists | |
| grid |
ig add grid newGridBasic template for IgxGrid.
|
| grid-batch-editing |
ig add grid-batch-editing newGridBatchEditingSample IgxGrid with batch editing.
|
| custom-grid |
ig add custom-grid newCustomGridIgxGrid with optional features like sorting, filtering, editing, etc.
|
| grid-summaries |
ig add grid-summaries newGridSummariesIgxGrid with summaries feature.
|
| grid-multi-column-headers |
ig add grid-multi-column-headers newGridMultiColumnHeadersIgxGrid with multiple header columns.
|
| tree grid |
ig add custom-tree-grid newCustomTreeGridIgxTreeGrid with optional features like sorting, filtering, row editing, etc.
|
| list |
ig add list newListBasic IgxList.
|
| combo |
ig add combo newComboBasic IgxCombo with templating.
|
| Charts | |
| category chart |
ig add category-chart newCategoryChartBasic category chart with chart type selector.
|
| financial chart |
ig add financial-chart newFinancialChartBasic financial chart with automatic toolbar and type selection.
|
| Gauges | |
| bullet graph |
ig add bullet-graph newBulletGraphIgxBulletGraph with different animations.
|
| linear gauge |
ig add linear-gauge newLinearGaugeIgxLinearGauge with different animations.
|
| radial gauge |
ig add radial-gauge newRadialGaugeIgxRadialGauge with different animations.
|
| Layouts | |
| carousel |
ig add carousel newCarouselBasic IgxCarousel.
|
| tabs |
ig add tabs newTabsBasic IgxTabs.
|
| bottom-nav |
ig add bottom-nav newBottomNavThree item bottom-nav template.
|
| Data Entry & Display | |
| chip |
ig add chip newChipBasic IgxChip.
|
| dropdown |
ig add dropdown newDropDownBasic IgxDropDown.
|
| select (v4.1.0) |
ig add select newSelectBasic IgxSelect.
|
| select (v4.1.0) |
ig add select-groups newGroupsSelectSelect With Groups.
|
| select (v4.1.0) |
ig add select-in-form newFormSelectIgxSelect in a form.
|
| input group |
ig add input-group newInputGroupBasic IgxInputGroup form view.
|
| Interactions | |
| dialog |
ig add dialog newDialogBasic IgxDialog.
|
| tooltip |
ig add tooltip newTooltipA fully customizable tooltip.
|
| Scheduling | |
| date-picker |
ig add date-picker newDatePickerBasic IgxDatePicker.
|
| time-picker |
ig add time-picker newTimePickerBasic IgxTimePicker.
|
| calendar |
ig add calendar newCalendarIgxCalendar with single selection.
|
Following is a table that demonstrates what Ignite UI for React templates are available:
| Template | Code and description |
|---|---|
| Grids & Lists | |
| grid |
ig add grid newGridBasic template for IgxGrid.
|
| Charts | |
| category chart |
ig add category-chart newCategoryChartBasic category chart.
|
| financial chart |
ig add financial-chart newFinancialChartBasic financial chart with automatic toolbar.
|
| doughnut chart |
ig add doughnut-chart newDoughnutChartBasic doughnut chart with legend.
|
| pie chart |
ig add pie-chart newPieChartBasic pie chart with legend.
|
| Gauges | |
| bullet graph |
ig add bullet-graph newBulletGraphBasic IgrBulletGraph template.
|
| linear gauge |
ig add linear-gauge newLinearGaugeBasic IgrLinearGauge template.
|
| radial gauge |
ig add radial-gauge newRadialGaugeBasic IgrRadialGauge template.
|