Ondrej Svejdar
Ondrej Svejdar

Reputation: 22054

Is there a way how to hide quick find on top of grid?

Is there a way to hide quick find search box on top of grid - either programmatically or via ribbon / customizations ? Btw, it should be in supported/able manner (no direct DOM manipulations).

enter image description here

Upvotes: 2

Views: 407

Answers (2)

Ondrej Svejdar
Ondrej Svejdar

Reputation: 22054

If anyone is interested - it is possible; it involves a shipping of your own custom grid control. Then in control manifest make sure to specify

cds-data-set-options="displayViewSelector:false;displayQuickFind:false"

<?xml version="1.0" encoding="utf-8"?>
<manifest>
  <control namespace="MyControls.MyGridControl" constructor="MyGridControl" display-name-key="MyGridControl" description-key="MyGridControl" version="1.0.0" hidden="false" control-type="virtual">
    <modes><read /><edit /></modes>
    <data-set name="Grid" display-name-key="CC_Grid_DSGrid" cds-data-set-options="displayViewSelector:false;displayQuickFind:false"></data-set>
    <dependencies>
      <dependency name="MscrmControls.Grid.ReadOnlyGrid" />
    </dependencies>
    <resources>
      <code path="MyGridControl.js" order="1" />
    </resources>
    <AvailableOn>
      <web classic="enable" />
      <phone />
      <tablet />
    </AvailableOn>
  </control>
</manifest>

Upvotes: 3

Unfortunately they are core platform functionalities and uncustomizable, and your necessity to turn off that capability is not an usual one. So it is not possible in any supported way today.

Maybe you can create an idea, if community voted for it - Microsoft may give that configuration in future releases.

Upvotes: 0

Related Questions