如何能将工具栏里的字段默认为全选,我现在是初始化的时候查询是选项中的平面型,但是它默认只是显示两个字段,我想让它显示全部字段,怎么能够实现呢
Hello,
Thank you for writing to us.
This example shows how to achieve the behavior you described: https://jsfiddle.net/flexmonster/6t9hx5uv/
Does it help?
Also, we kindly ask you to post the questions in English.
Regards,
Tanya
How can the field in the toolbar be selected by default? I am now initializing when the query is the flat type of the option, but it only shows two fields by default. I want it to display all fields, how can it be realized?,thank you.
Hello,
Thank you for your feedback.
Please make sure that you are using the latest version of the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
As you can see in the following jsfiddle example: https://jsfiddle.net/flexmonster/6t9hx5uv/3/, you should set an empty slice and all the fields will be selected by default.
Please let us know if you managed to resolve it.
Regards,
Dmytro