emptyCells property
Determines whether to show or hide a cell without content.
Syntax
HRESULT value = object.put_emptyCells( v);HRESULT value = object.get_emptyCells(* p);
Property values
Type: BSTR
show (show)
Renders empty cells with inherited borders and styles
hide (hide)
Does not render the cell
String format
show | hide
CSS information
Applies To | All elements |
Media | visual |
Inherited | no |
Initial Value |
Standards information
- CSS 2.1, Section 17.6.1.1
Remarks
If all cells in a particular row have the IHTMLCurrentStyle5::emptyCells value set to hide, the entire row will behave as if it had the IHTMLRuleStyle::display value of none
.
The IHTMLCurrentStyle5::emptyCells value can be set for an entire table. If the value is set in the table properties to show
,all cells will be rendered with borders, regardless of their content.
Requirements
Minimum supported client |
Windows XP with SP2 |
Minimum supported server |
Windows Server 2003 |
Header |
Mshtml.h |
IDL |
Mshtml.idl |
DLL |
Mshtml.dll |