تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4076 أدوات العرض

Hello

I Have created search view for my custom model.

I want to filter data based on user input. Ex. if user types 200000 then all the records containing price <= 200000 should be filtered.

I know we can do this from front end using add custom filter.But i want to apply filter using code in xml .

Though my condition for search filter will remain same.Its just the value that user will be inputting in order to filter out data will be changing.

Can anyone please suggest me how this can be achieved ?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 18
10413
1
فبراير 21
4223
1
سبتمبر 18
106
1
مايو 17
8438
0
فبراير 25
1098