Treelist documentation

2 posts, 0 answers
  1. Laszlo
    Laszlo avatar
    8 posts
    Member since:
    Sep 2014

    Posted 21 Jan 2015 Link to this post


    Some suggestions for the TreeList's documentation:

        Parameter list is missing from the "head" of the method definition (that you can add a new row under an existing row)

    .d.ts type definition:
    class TreeList extends kendo.ui.Widget{
    //the current method definition:
    addRow(): void;
    //I think it should be something like this:
    addRow(parentRow?: any): void;

    interface TreeListOptions.toolbar
    //the current typing is the following:
    toolbar?: TreeListToolbarItem[];
    //according to the API docs, it should be something like this (this requres TypeScript 1.4 Union Types):
    toolbar?: string | Function | TreeListToolbarItem[];
  2. Alex Gyoshev
    Alex Gyoshev avatar
    2527 posts

    Posted 22 Jan 2015 Link to this post

    Hello Laszlo,

    Thank you for the suggestions. We have fixed the addRow declaration for future builds. As for the declarations utilizing union types, we have not yet started adding such declarations in our definitions yet, but this is on our radar for future versions of the framework.

    Alex Gyoshev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top