Updated column definition to allow numbers
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ztimson/ng-datatable",
|
||||
"version": "1.5.1",
|
||||
"version": "1.5.2",
|
||||
"homepage": "https://github.com/ztimson/ng-datatable",
|
||||
"license": "Apache-2.0",
|
||||
"author": {
|
||||
|
@ -10,5 +10,5 @@ export interface Column {
|
||||
sort?: boolean; // Allow sorting
|
||||
sortFn?: (a: any, b: any) => 1 | 0 | -1; // Custom sorting function
|
||||
template?: TemplateRef<any>; // TemplateRef to render the column
|
||||
width?: string; // Width to give column
|
||||
width?: number | string; // Width to give column
|
||||
}
|
||||
|
Reference in New Issue
Block a user