Need a special offer?Find out if your project fits.

How to disabled fields columns , value ?

jaewon asked on March 2, 2023

I want to use only filter, rows in Fields to activate.
want field dragging column, value is disable.


4 answers

Solomiia Andrusiv Solomiia Andrusiv Flexmonster March 2, 2023

Hello, Jaewon!

Thank you for contacting us.

Our team is currently working on your question. We will get back to you soon.


Solomiia Andrusiv Solomiia Andrusiv Flexmonster March 3, 2023

Hello, Jaewon!
Thank you for giving us some time.
We kindly suggest two possible approaches to achieve the described behavior and restrict the "Columns" and "Values" sections of the Field List from dragging.
1. Disabling the Apply button when something is added to the Columns/Values
The new items dragged to the sections can be tracked by listening to the mouseup event. This event does not cover the case when new measures are added to "Values" by using the checkbox.
Inside the mouseup listener, we can use the document.querySelector() API call to get the HTML-objects of the "Columns" and "Values" lists for further validation by desirable conditions.
We have prepared a JSFiddle illustrating the described approach: In this example, the 'Apply' button gets disabled when there is more than one element in Columns or Values.
Please note that tracking the mouseup event inside the Field List does not cover the case when hierarchies on the grid are dragged. To restrict changes made by dragging on the grid, we suggest disabling it by setting the dragging: false in the grid options. We have already done it in the provided JSFiddle.
2. Creating a custom Field List
Please look through the detailed guide on implementing a custom FieldList in the following thread:
Here is our custom Field List example for reference:
Hope you will find our answer helpful.

Kind regards,

jaewon March 4, 2023

thanks you for answer.
Another thing, if I want to purchase a license in Korea, can I know where to contact?

Nadia Khodakivska Nadia Khodakivska Flexmonster March 6, 2023


Thank you for the response.

Our team will reach out to you with more information via email. 

Kind regards,

Please login or Register to Submit Answer