We have updated Flexmonster Software License Agreement, effective as of September 30, 2024. Learn more about what’s changed.

drag and drop of a specific field

Resolved
Jose Antonio Veintimilla asked on December 16, 2019

Good Morning.
Can you tell me how I can disable the drag and drop of a specific field. The idea is that you can filter through it but not drag it to the pivot table.

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster December 16, 2019

Hello,
 
Thank you for reaching out to us.
 
Dragging can be disabled by setting the dragging property of the grid object to false. The grid object itself is a property of the options object. More about the option object and its properties can be found by the link. Please consider that dragging can be enabled or disabled for all fields at a time, but not for specific field.
 
However, in case you want to filter by the specific field without displaying it on the grid, we would like to kindly recommend using the reportFilters object that is a property of the slice object. Such a feature allows displaying the chosen field inside the special block above the pivot, dedicated to displaying report filters. Please check out an example. More information about the slice object and its properties: Slice Object.
 
Please contact us in case you have additional questions.
 
Kind regards,
Illia

Please login or Register to Submit Answer