Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

TypeScript definition file correction

$
0
0

I think columns need correction for GridColumn interface:

interface GridColumn {
        aggregates?: any;
        attributes?: any;
        columns?: any;   //I think this should be GridColumn[] not any
        command?: GridColumnCommandItem[];
        encoded?: boolean;
        field?: string;
        filterable?: boolean|GridColumnFilterable;
        footerAttributes?: any;
        footerTemplate?: string|Function;
        format?: string;
        groupable?: boolean;
        groupHeaderTemplate?: string|Function;
        groupFooterTemplate?: string|Function;
        headerAttributes?: any;
        headerTemplate?: string|Function;
        hidden?: boolean;
        locked?: boolean;
        lockable?: boolean;
        minScreenWidth?: number;
        sortable?: boolean|GridColumnSortable;
        template?: string|Function;
        title?: string;
        width?: string|number;
        values?: any;
        menu?: boolean;
    }

Viewing all articles
Browse latest Browse all 99250


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>