cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Use queryfilter on a ptcsgrid

iguerra
16-Pearl

Use queryfilter on a ptcsgrid

Using thingworx 9.6

I have infotable data shown on a ptcsgrid

I want to apply a "static" filter to hide some rows based on a value (NOTLIKE), and I would use the queryfilter  parameter.

Note that I don't want to filter at service level when generating infotable data because in other objects I need to have all the rows.


I may leave on the ptcsgrid the "filter box" visible on the mashup to filter the visible data, but this should work  after the queryfilter, just on the visible rows

Is there a way to apply a static  queryfilter , not using for example a ptcschipdatafilter ?
I tried with an expression with output type queruyfilter, but it's not clear how to "code" the filter

ACCEPTED SOLUTION

Accepted Solutions

I don't think that's possible. The queryFilter to my knowledge is not applied on client side, but on server side when executing the service that acquires that, as shown in the example.

Also, it would be weird if you show the full data elsewhere on the same mashup, it would break the SelectedRow behaviour IMO.

You can route the full set to a second service and in that service apply the queryfilter on the infotable, I don't see an option to do that clientside only.

View solution in original post

1 REPLY 1

I don't think that's possible. The queryFilter to my knowledge is not applied on client side, but on server side when executing the service that acquires that, as shown in the example.

Also, it would be weird if you show the full data elsewhere on the same mashup, it would break the SelectedRow behaviour IMO.

You can route the full set to a second service and in that service apply the queryfilter on the infotable, I don't see an option to do that clientside only.

Announcements


Top Tags