Page 1 of 1

Retrieve values from grid issue wxpython

Posted: Wed Nov 16, 2016 7:24 am
by pikkip
I have inserted certain values to a grid. I am trying to retrieve those values using GetTable().GetValue(row,col). My grid has two columns. One contains name and the other , type. Type option is given in combobox. The problem is that when I get the retrieved values, I get all of them except the value in combobox of last row. Is it because the combobox is in selected state??? Can anyone help me out??? :(

Re: Retrieve values from grid issue wxpython

Posted: Wed Nov 16, 2016 4:06 pm
by Manolo
The combobox must be "associated" with the table, as an attibute of type editor.
See the grid sample.

Re: Retrieve values from grid issue wxpython

Posted: Thu Nov 17, 2016 7:17 am
by pikkip
Is it GridCellChoiceEditor???

Re: Retrieve values from grid issue wxpython

Posted: Thu Nov 17, 2016 3:23 pm
by ONEEYEMAN
Hi,
Just compile and run the sample and you will see what it uses.

Thank you.

Re: Retrieve values from grid issue wxpython

Posted: Fri Nov 18, 2016 5:46 am
by pikkip
Got it, thank you