jQWidgets Forums

jQuery UI Widgets Forums Grid Selector in Map Property?

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Selector in Map Property? #51772

    Simon
    Participant

    Is it possible to have a selector in the map property? For instance, I have records in my data with a nested array of objects, but for each record, that array does not always have the same amount of entries (e.g. first record has three items in the array, second item has five, etc.). If I access each array element by index, I may not always get the same type of object at the same index.

    Instead of setting up a map like this

    MyArray>1>MyValue

    it would be much easier to be able to do this:

    MyArray>[ObjType=’Foo’]>Value

    This would cut out all the empty elements I am now serializing on the server simply to ensure I have the same number of elements in each array in each record.

    Selector in Map Property? #51774

    Peter Stoev
    Keymaster

    Hi SimonUA,

    Unfortunatley, Such type of selectors are not available.

    Best Regards,
    Peter Stoev

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

    Selector in Map Property? #51779

    Simon
    Participant

    Hi Peter,

    Thank you very much for your reply. Are there any plans to add something like that in the future?

    Thank you,

    Simon

    Selector in Map Property? #51788

    Peter Stoev
    Keymaster

    Hi Simon,

    For now, we do not have plans to modify the current implementation.

    Best Regards,
    Peter Stoev

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

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

You must be logged in to reply to this topic.