Hi,
i have a form.in that i have the wingrid.In that grid we have dropdown column. if the drop down column has changed then we need to open the child form.The child form is opening but i am unable to do select on the first click. its working fine in the second click
We have written the code in this below event
ugrdWorkCard_AfterCellListCloseUp
if (e.Cell.DataChanged) { if (cellValue == employee.mark) { // Here i need to open the form.and i want to use only the showdialog() and in a single click i want to select
Can u tell how to do that. Its quite urgent.
Try using CellListSelect event of the dropdown.
and to check which column is being click u can use select case
ex:
select case e.cell.column.tostring
case"Column Header"
call the form here..
Hope it will work
That's probably because AfterCellListCloseUp is happening before DataChanged becomes true. Try the CellChange event.