Skip to Content

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 05, 2017 at 07:12 PM

    it is just not supported.

    Add comment
    10|10000 characters needed characters exceeded

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

    Hi Irfan,

    Will this help?

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

    Regards,

    Ashitha

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 06, 2017 at 06:06 AM

    You have to use Javascript to do what you want.

    Add comment
    10|10000 characters needed characters exceeded