I am having a LVWP on a custom WebPart page. Got few properties set for webpart are as follows:
- Inline editing is allowed
- ASync refresh is allowed
- Manual Refresh is allowed
Now the problem I am facing is, in this LVWP an icon is displayed for adding new item. I need to hide/remove that icon, since I don't want my users to add any items from there.
I have added javascript to remove it, which is working fine, The icon is not displayed on page load.
The challenge here is this LVWP has ASync refresh on, which refreshes the WebPart, and the icon gets displayed. $(document).ready(function () {}
this method never gets called because of ASync refresh. How can I hide this icon in all scenarios.
Icon Snapshot: