Free Support Forum - aspose.com

GridWeb Save / Submit images

I would like to use my my own images on the GridWeb bottom bar.


I was able to do so by replacing the default images in the acw_client directory. However, I need to be able to change the height and width properties of the rendered images. I found in the .js file the mouse over text settings, but I can not find anywhere to set the height and width to match the dimensions of my custom images.


Hi,

I think you can do. There is an attribute named “OnGridInitClientFunction”, you can change the save button image’s size in this function:

OnGridInitClientFunction="ongridinit"

e.g

function ongridinit()

{

var button = document.getElementById("GridWeb1_SAVE");

button.style.width = "25px";

button.style.height = "25px";

}

Thank you.