Hi,
Thank you for considering Aspose.
As currently, GridWeb does not support hiding worksheets. You can implement this feature at client side.
1. Register the client script function onGridInit to the OnGridInitClientFunction of GridWeb. The html code will be like this: OnGridInitClientFunction="onGridInit".
2. Insert the client script function code into aspx file.
function onGridInit()
{
var obj = document.getElementById("GridWeb1_TAB2");
if (obj != null)
{
obj.style.display = "none";
}
}
Every tab name is consisted by GridWeb’s name, “_TAB” constant string and index of worksheet. We can set styles for each tab.
Hope it will help you as per your requirement.
Thank You & Best Regards,
Nausherwan Aslam
Support Developer,
Aspose Sialkot Team
Contact Us