File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
projects/igniteui-angular/src/lib/grids/columns Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -1185,29 +1185,24 @@ export class IgxColumnComponent implements AfterContentInit {
11851185
11861186 private _pipeArgs : IColumnPipeArgs = { format : DEFAULT_DATE_FORMAT , digitsInfo : DEFAULT_DIGITS_INFO } ;
11871187 /**
1188- * @remarks
11891188 * Provide parameters for DatePipe and DecimalPipe to customize the display format for date and numeric columns.
11901189 * Accepts an `IColumnPipeArgs` object with any of the `format`, `timezone` and `digitsInfo` properties.
11911190 * For more details see https://angular.io/api/common/DatePipe and https://angular.io/api/common/DecimalPipe
1192- * @param IColumnPipeArgs object.
1193- *
1194- * @memberof IgxColumnComponent
1195- */
1196- @Input ( )
1197- /**
1198- * Sets the _pipeArgs.
11991191 * @example
12001192 * ```typescript
1201- * const formatOptions : IColumnPipeArgs = {
1193+ * const pipeArgs : IColumnPipeArgs = {
12021194 * format: 'longDate',
1203- * timezone: 'UTC'
1195+ * timezone: 'UTC',
1196+ * digitsInfo: '1.1-2'
12041197 * }
12051198 * ```
12061199 * ```html
1207- * <igx-column dataType="date" pipeArgs="formatOptions "></igx-column>
1208- * <igx-column dataType="number" pipeArgs="{ digitsInfo: '1.1-2' } "></igx-column>
1200+ * <igx-column dataType="date" [ pipeArgs]="pipeArgs "></igx-column>
1201+ * <igx-column dataType="number" [ pipeArgs]="pipeArgs "></igx-column>
12091202 * ```
1203+ * @memberof IgxColumnComponent
12101204 */
1205+ @Input ( )
12111206 set pipeArgs ( value : IColumnPipeArgs ) {
12121207 this . _pipeArgs = Object . assign ( this . _pipeArgs , value ) ;
12131208 this . grid . summaryService . clearSummaryCache ( ) ;
You can’t perform that action at this time.
0 commit comments