This is a migrated thread and some comments may be shown as answers.

TreeListColumn object TypeScript definition is missing 'editor' property

1 Answer 54 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Michelle
Top achievements
Rank 1
Michelle asked on 26 Nov 2015, 08:49 PM

I am using TypeScript 1.6 and the compiler is complaining that TreeListOptions.columns.editor cannot be set because the TreeListOptions is not expecting the 'editor' property.  When I check the kendo.all.d.ts file, this is what I see:

 interface TreeListOptions {
        name?: string;
        autoBind?: boolean;
        columns?: TreeListColumn[];
        ...
    }

...

interface TreeListColumn {
        attributes?: any;
        command?: TreeListColumnCommandItem[];
        encoded?: boolean;
        expandable?: boolean;
        field?: string;
        filterable?: TreeListColumnFilterable;
        footerTemplate?: any;
        format?: string;
        headerAttributes?: any;
        headerTemplate?: any;
        minScreenWidth?: number;
        sortable?: TreeListColumnSortable;
        template?: any;
        title?: string;
        width?: any;
        hidden?: boolean;
        menu?: boolean;
        locked?: boolean;
        lockable?: boolean;
    }

I am using version 2015.2.805, but I verified that this problem exists in the latest version 2015.3.1111 as well. 

Michelle

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 01 Dec 2015, 08:44 AM

Hello Michelle,

 

Indeed you are right. `editor` option is missing from TypeScript deifinition. 

 

This issue has been fixed for the next internal build, which should be released by the end of the week. When it is released, please upgrade and let us know if the problem persists.

 

Regards,
Nikolay Rusev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
TreeList
Asked by
Michelle
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or