jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • TDR
    Participant

    Hi,

    thanks for the quick answer. We need the table structure because there are more elements inside. Our html is valid.
    What makes me wonder is that the jqxChart seems to be constructed in background but not attached to the DOM tree in chrome. We used the div structure in first place but had the same issue then in firefox (whereas in chrome it was working)

    in reply to: Multiline editors within grid Multiline editors within grid #76844

    TDR
    Participant

    Hi,
    I stumbled across the same requirement. I hope my solution is of help:

    columns: [
    {
        text: 'my column title', dataField: 'myData', autowidth: false , columntype: 'template',
            createeditor: function (row, cellvalue, editor, celltext, cellwidth, cellheight) {
                var editorElement = $('<textarea id="customTextArea"></textarea>').prependTo(editor);
                editorElement.jqxEditor({ height: '100%', width: '100%', tools: "" });
                editorElement.val(cellvalue);
            },
            geteditorvalue: function (row, cellvalue, editor) {
                return $('#customTextArea').val();
            }
    }

    TDR
    Participant

    ok, didnt see. Sorry

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