jQWidgets Forums

jQuery UI Widgets Forums TreeGrid jqxTreeGrid Custom cellsRenderer

This topic contains 2 replies, has 2 voices, and was last updated by  jqwidgetsdev 11 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxTreeGrid Custom cellsRenderer #49952

    jqwidgetsdev
    Participant

    Hello.

    Can anyone please tell me whether jqxTreeGrid supports custom cellsRenderer for widget jqxDropDownList?
    I am not able to get the jqxDropDownList to display. Any clues?

    $(“#myTreeGrid”).jqxTreeGrid({
    ….
    columns: [
    { text: ‘afield’, dataField: ‘avalue’, width: 600,
    cellsRenderer: function (rowKey, dataField, value, data) {
    var source = [“i1”, “i2”, “i3″];
    var item = ‘<div id=”x”></div>’;
    return item;
    $(“#x”).jqxDropDownList({width: ‘100%’, height: ‘100%’, autoDropDownHeight: true, source: source });
    break;
    }
    }]
    });

    Thanks.

    jqxTreeGrid Custom cellsRenderer #49954

    Peter Stoev
    Keymaster

    Hi jqwidgetsdev,

    CellsRenderer’s result can be HTML only, not a widget.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    jqxTreeGrid Custom cellsRenderer #50011

    jqwidgetsdev
    Participant

    Thanks Peter.

    Ok, the HTML Select tag solves this problem.

    If there is a way to allow the cellsRenderer’s result to return jqWidgets additionally that would be very much appreciated. IMHO the support for HTML only is limiting.

    Are there any workarounds for adding a calendar to a jqxTreeGrid’s cell?

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.