IHTMLTable::put_cellSpacing
IHTMLTable

IHTMLTable::put_cellSpacing


HRESULT put_cellSpacing(
    VARIANT v 
);

Sets the amount of space between cells in a table.

v
VARIANT structure containing either a string or value specifying the cell spacing.

See also get_cellSpacing

IHTMLTable::put_cols

HRESULT put_cols(
    long v 
);

Sets the number of columns in the table.

v
Long integer value specifying the number of columns.

Providing this number can speed up the processing of the table.

See also get_cols

IHTMLTable::put_dataPageSize

HRESULT put_dataPageSize(
    long v 
);

Sets the number of records displayed in a databound repeated table.

v
Long integer value specifying the number of records to display.

Use the nextPage and previousPage methods to display the subsequent and previous number of records in the table.

See also get_dataPageSize

IHTMLTable::put_frame

HRESULT put_frame(
    BSTR v 
);

Sets the appearance of the border frame around the table.

v
String value specifying the appearance of the border frame. Can be one of these strings:
above Displays a border on the top side of the border frame.
below Displays a border on the bottom side of the table frame.
border Displays a border on all sides of the table frame.
box Displays a border on all sides of the table frame.
insides Displays a border on the top and bottom sides of the table frame.
lhs Displays a border on the left side of the table frame.
rhs Displays a border on the right side of the table frame.
void Removes all outside table borders.
vsides Displays a border on the left and right sides of the table frame.

The default value for this property is "void".

See also get_frame

IHTMLTable::put_height

HRESULT put_height(
    VARIANT v 
);

Sets the height of the table, in pixels.

v
VARIANT structure that contains the value specifying the height.

If the value of the corresponding HTML attribute was set using a percentage, this property specifies the height in pixels represented by that percentage.

See also get_height

IHTMLTable::put_onreadystatechange

HRESULT put_onreadystatechange( 
    VARIANT v 
);

Sets the inline script associated with the onreadystatechange event for the table element. This script is executed when the onreadystatechange event is fired.

For more information on inline script, see Attaching an Event Handler in the Event Model documentation.

v
VARIANT structure that contains the script to be set.

See also get_onreadystatechange

IHTMLTable::put_rules

HRESULT put_rules(
    BSTR v 
);

Specifies which dividing lines are displayed (inner borders).

v
String value specifying the dividing rules. Can be one of these values:
all Displays a border on all rows and columns.
cols Displays borders between all table columns.
groups Displays horizontal borders between all table groups. Groups are specified by the THEAD, TBODY, TFOOT, and COLGROUP elements.
none Removes all interior table borders.
rows Displays horizontal borders between all table rows.

See also get_rules

IHTMLTable::put_width

HRESULT put_width( 
    VARIANT v 
);

Sets the width of the table, in pixels.

v
Value specifying the width.

This property is an integer value. Although an HTML author can specify the width as a percentage, this property always specifies the width in pixels.

See also get_width

IHTMLTable::refresh

HRESULT refresh( 
    void 
);

Refreshes the content of the table.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.