ui.showCSVViewerDialog
Description
Shows a grid viewer dialog containing the specified cells data.

Parameters
caption string (window title)
cells 2D array (in format [yRow][xCol])
hasHeaderRow boolean (place first row in column headers)

Return value
dialogWindowHandle integer

Example
local myDocumentsPath = io.getSpecialFolderPath(CSIDL_MYDOCUMENTS)
ui.showCSVViewerDialog("Test Data", myDocumentsPath .. "test.csv", true)

Comments

See also
ui.showGridViewerDialog

Back