How to Hide a Custom BaseDataView
14:41 Apr 09, 2020
I want to Hide the GridDataViewB2B based on access right. How Can I do so?
baseDataViews.GridDataViewB2B = {
name: "GridDataViewB2B",
caption: this.get("Resources.Strings.B2BButtonCaption"),
hint: this.get("Resources.Strings.B2BButtonCaption"),
icon: this.get("Resources.Images.GridDataViewIcon")
};
Can we add a visibility attribute which may we set to false when we want?
Like
1 comments
16:37 Apr 23, 2020
Dear Mohammad,
Yes, it is possible to add the “visible” attribute to the element.
Please see an example of using the attribute in the article by the link below:
https://academy.creatio.com/documents/technic-sdk/7-15/displaying-contacts-time-zone
Best regards,
Norton
Show all comments