jQWidgets Forums

jQuery UI Widgets Forums Grid How to embed jqxGrid in a grid cll as an editor

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • jwollner
    Member

    I have a structure similar to the following:

    {RowNumber:1,Values[{Value:1},{Value:2}],Criteria[{ColumnID:1,Comparitor:’=’,Value:10}], TableName:’some name’}

    I would like the Criteria array to be a grid embedded in a cell such that when the cell is selected, a grid containing each of the Criteria entries is shown, w/ normal navigation/operation within the embedded grid.

    I would prefer to do this embedded rather than nested, as that’s what the spec calls for, but if there is no other way, I’ll do nested, but it seems that if other controls can be embedded, why not a grid?

    Can someone point me in the right direction?  I tried doing it in createeditor, but after the grid is materialized, all I get in the cell is a text box.


    Peter Stoev
    Keymaster

    Hi jwollner,

    The Grid has several built-in editors like checkbox, button, textbox, datetimeinput, numberinput, dropdownlist and combobox. It is not capable of displaying other widgets in the cells. The createeditor is a callback function called when any of the built-in editors is created. It can’t be used for setup of the supported editors. If you want to display other widgets in the Grid, please take a look at the Row Details and Nested Grid demos.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.