| Function Name | dcl-Grid-AddRow |
|---|---|
| Syntax | (dcl-Grid-AddRow
<CONTROL>
{Column0ImageIndex [as Integer]}
Column0Label [as
String] {Column1Label [as
String] Column2Label [as
String]} ...) |
| Return Type | Long |
| Applies To | Grid |
此方法将一个新行追加到网格。 可选的Column0ImageIndex参数指定控件图像列表中的图像,并使用第一列中的标签显示。 新行中的每个单元格都预先填充了指定的标签文本。 如果没有为列指定标签文本,则它仍为空。 新单元格继承为其列设置的默认样式和图像值。 返回值是最后添加的行的索引(从零开始)。