Skip to Content
author's profile photo Former Member
Former Member

Position of filters in SmartFilterBar

Hello everyone,

I'm struggling with SmartFilterBar, and I need a little help. I figured out how to add custom filter fields to SmartFilterBar and how to attach them to $filter with other OData requests. But I didn't find solution for positioning of filters. I wonder how are custom filters and OData filters ordered in SmartFilterBar. Can anyone help me how to position those filters ? I mean, if I can have for example in first row of visible advanced area one custom filter and one OData non custom filter ?

Here is my little bit complicated app with SmartFilterBar:

If anyone can help me with some useful link or source code example that would be great.

Thank you.

Martin

exampleapp.PNG (39.6 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 18, 2016 at 02:07 PM

    Hi Martin,

    Every filter has an index property that you can use to order the filters.

    Not sure if you can really segregate them on different rows using only properties.

    Do you also have an annotation xml?

    Regards,

    Yogesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Yogesh,

      I ordered them with index finally. I just needed to figure out how ordering with indexes work in SmartFilterBar. But still I guess SmartFilterBar should be much more customizable.

      Thank you for help.

      Martin

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.