Hi ,
Can anyone assist me with the issue?
I have a column in a grid that will have a 'add' button. upon clicking it will allow to select a file. After adding the column mustt have the file name and the add button both in one column?
Is there property that can assist? I am new to ultragrid.
Hi,
Placing a button in a WinGrid cell is very easy. Just set the Style property of the column to EditButton.
The ClickCellButton event of the grid will fire when the button it clicked and then you can show any dialog you want (like a FileDialog) and set the value of the cell accordingly.
Thanks Mike for the prompt reply!! will do that.. but i have a another question.. once the event is triggered and the file is selected, can i hide the button in the column and fill it with filename... and also i dont want the button to occupy the whole column.. it should occupy only half of it.. thanks in advance mike ...