VisibleNormalPictures: Boolean;
The VisibleNormalPictures property determines whether pictures are shown in table cells.
Use JSON or the setVisibleNormalPictures method to set the property value, and the getVisibleNormalPictures method to get the property value.
If the property is True, pictures in table cells are visible, otherwise they are not.
To execute the example, the HTML page must contain the TabSheet component named component. The example of the component creation is described in the TabSheet.setCellPictureSettings method.
Handle the PictureMouseDown event:
// Handle the PictureMouseDown event component.PictureMouseDown.add(function (sender, eventArgs) { console.log("The PictureMouseDown event initialized"); });
Click on a picture in table cell, and the browser console shows a message that the previously processed event is fired:
PictureMouseDown event initialized
Hide all table pictures:
// Hide the images component.setVisibleNormalPictures(false);
As the result, table pictures are hidden:
See also: