Is ther any way to make the filter readonly which one we have set in data table from instance definition widget?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 09:36 PM
Dear Developers,
I am working on data table from instance definition widget and i have set an filter condition.
Now my requirement is , how can i set the condition which i have given in this widget readonly so that enduser cann't modify this filter condition and also give a new filter to seach more.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2020 10:49 PM
Hey manmathpanda,
Try this g_form.setMandatory('true');
Well, if you can share the widget code, I might be able to help you more.
If the above code helps then please mark my answer Correct and Helpful.
Thanks and Regards:
Siddhnath Pandey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020 03:05 AM
Hi Siddhnath,
i am not doing anything on code level.
It is an oob widget called as "data table from instance definition" and when you will press ctrl+right click on that widget , it will show you list of options and then when you will select instance option, it will show you what filter you want to apply.
so i did the same as below
and filter applied like above.
Now in my screen it is showing as below
Now my task is how to make the fields readonly to end user , they should not have to edit anything?
Please let me know if there is anyway we can achieve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2020 03:42 AM
What I have understood you are worrying about the filter condition which is in the instance option of the widget right?
But I think this Instance Option is not clickable for end user. this is visible only to admin.
like here you can see:
As in the above Image I tried to access the Instance option which is not clickable because end user is not admin.
Let me know, this is it what you looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 08:53 AM
Hi manmathpanda,
Did you find a solution to this? I am trying to accomplish the same thing
Thanks!