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

How to hide some field property on fields menu

Answered
pvaritta asked on November 30, 2018

Hi,
I wonder that how to hide field that we don't want to show to user?  As your example http://jsfiddle.net/rkprvhhs/1184/
It has 'ORDER ID' field in fields menu. If I want to hide this. How can I do?
 
Regards,

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster November 30, 2018

Hello, Varitta,
Thank you for writing to us.
To hide a field property we suggest defining a special ID type for it. When such type is defined, the field is not shown in the Field List. For more details on how to set data types refer to our docs: Data types in JSON and Data types in CSV.
Please inform me if you have further questions.
Regards,
Tanya

Public
pvaritta December 3, 2018

From these example https://jsfiddle.net/nm09d7zh/36/ , I move the type in the bottom object It's not work as expect as screenshot.  And also I found out that this need to write all property that in jsonData has(order by data pattern). For my purpose I need to manage/hidden some of those data as the screenshot.
 
 
Regards,
Pond.

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster December 3, 2018

Hello Pond,
Thank you for your feedback.
Please note that when you are setting the data types for the fields the metaobject which defines the types should be the first in the data array.
You can find the example here: https://jsfiddle.net/flexmonster/nm09d7zh/41/
Also please note that if you decided to set the types then the types should be defined for all the fields.
Let us know in case of any other question.
Regards,
Dmytro

Please login or Register to Submit Answer