Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lyassa

Pages: [1]
1
Looks like mixing ANDs and ORs is not possible. I ended up filtering the dataModel and refresh the grid. Doing it that way is a lot more flexible than using the built in filter method.

2
How can I filter the grid on a condition that needs both "and" and "or"? For example:
status = "New" AND (firstName contain "john" OR lastName contain "john" OR companyName contain "john")

I played with filterModel: { on: true, mode : "OR"}  and filterModel: { on: true, mode : "AND"} but couldn't get it to work.  Any advice is greatly appreciated.

Thank you

3
How to set focus on the first row when the grid initially appear on the screen? I found an answer that says "use setSelection with rowIndx:0", but I couldn't use that answer since it was very brief. Any help is appreciated.

4
Is there an option in ParamQuery where I can switch between "table view" and "card view". By card view I mean where every row is displayed like a card, with all the rows displayed next to each other and wrap around the page.


Table view:
+-------+--------+
| Title1  | Title2  |
+-------+--------+
| data1 | data2   |
+-------+--------+
| dataX | dataY   |
+-------+--------+

Card view
+------------------+     +------------------+
| Title1: data1      |      | Title1: dataX     |
| Title2: data2      |      | Title2: dataY     |
+------------------+      +------------------+

Pages: [1]