LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Table Control

How to add a row to a table (CVI) during application execution ?
0 Kudos
Message 1 of 2
(3,030 Views)
You can programatically add rows to a table in CVI by using the InsertTableRows function in the User Interface Library.


int InsertTableRows (int panelHandle, int controlID, int rowIndex, int number_ofRows, int cellType);


Purpose

  • Inserts new rows into a table control at the specified one-based index.

  • The indexes of existing rows at and beyond the specified index are increased by the number of rows inserted.

  • This function creates a new cell for each column in the table.



You can find more information on this function from the CVI context help under "Table Controls/Programming with"
Message 2 of 2
(3,030 Views)