For siColumnButton, event goes with the Grid's PPGEvent. Check for the 
siGridDataOnButtonClicked eventContext.

With siColumnFile, you can do a GridData::SetFileColumnDef. You can specify 
File/Folder, StartupPath and file type filter.

You can check the GridData (GridDataExampleCPP) example in the default SDK 
workgroup for some sample code.

Regards,
Min Rui


From: [email protected] 
[mailto:[email protected]] On Behalf Of Matt Lind
Sent: Thursday, June 13, 2013 4:51 AM
To: [email protected]
Subject: GridData siGridWidgetColumnType enums

I was just looking up the siGridWidgetColumnType enums for the GridData object 
as I was modifying some old code.  While doing so I noticed a plethora of 
options to dress up a grid data cell.  The items that catch my attention are 
siColumnButton and siColumnFile.

In the case of siColumnButton, are there any callbacks available when the 
button is clicked?  Otherwise, what's the point?

In case of siColumnFile, why does the popup dialog ask for a folder and not a 
file?  Any way to get the folder dialog to be a file dialog AND default to 
opening to the path specified in the cell?


Thanks,


Matt

<<attachment: winmail.dat>>

Reply via email to