In-general, PivotSchemaDesigner has many UI options to add/remove/move fields in desired field area. The options are,
Below screen-shot shows the check boxes and context menu in PivotSchemaDesigner.
You can hide the check boxes and context menu under Field List of PivotSchemaDesigner by using below steps.
To hide check boxes, we can utilize their class name “.schemaFieldList .e-chkbox-small” and apply the CSS style “display: none”, which hides the entire check boxes under Field List.
To hide context menu, the required code is written inside the “OnAfterServiceInvoke” event of PivotSchemaDesigner. Like check boxes, we can utilize the class name of the context menu to remove it using jQuery. The code is like $(".pivotTreeContext").remove() under the function “hideContextMenu()” as mentioned in the below code sample.
NOTE: The class “.pivotTreeContext” of the context menu will be generated only after PivotGrid control is rendered. Calling the function “hideContextMenu()” before that could not be effective. So we have to set delay, in-order to activate the function “hideContextMenu()” using “setTimeout” function.
The code sample below illustrates on how to hide the check boxes in Field List.
The code sample below illustrates on how to hide the context menu in Field List.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|6493||03/08/2016||03/08/2016||ASP.NET Web Forms||PivotGrid|
or the page will be automatically redirected to sign-in page in 10 seconds.