Skip to Content
0

Filter the dialog by replacing value of filter value from another model property value

Nov 05, 2017 at 01:09 PM

53

avatar image

Dear Experts,

I have 2 select dialogs. One for materials and another for plant. I want to filter data based material in plant dialog.

So after selecting material i'm setting selected material to property MatId in MVMdl. And for filtering the plant i'm doing it as below.

<SelectDialog 
		title="Select Plant {MVMdl>/MatId}"
		search="handleSearchPln"
		confirm="handleClosePln"
		items="{
			path: '/PlantListSet',
			filters: [{path: 'ImMatNum', operator: 'EQ', value1: '{MVMdl>/MatId}'}]
		}" >

Here the value is not getting replaced. In network it's passing as below.

Please help me how can i achieve this.

Thanks in Advance.

network.png (3.3 kB)
10 |10000 characters needed characters left characters exceeded
0
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jun Wu Nov 05, 2017 at 07:12 PM
1

it is just not supported.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank You for the reply

0
avatar image
Former Member Nov 06, 2017 at 09:08 AM
0

Hi Irfan,

Will this help?

http://plnkr.co/edit/j0rzCdHVJ9n32kTeT7XX?p=preview

Regards,

Ashitha

Share
10 |10000 characters needed characters left characters exceeded
Joseph BERTHE Nov 06, 2017 at 06:06 AM
0

You have to use Javascript to do what you want.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank You for the reply

0