Updating grid data

posted by | Leave a comment

What I need now is to update a field that I left empty in the table using a textbox that is inside the cells of a column, it's like sharing messages.

I've been using examples from internet but nothing seems to work.

Bind variables are placeholders inside a SQL statement.

When a database receives a SQL statement, it determines if the statement has already been executed and stored in memory.

updating grid data-36

Once that happens then you need to send messages to the grid to notify it.

The updating features of the grid provide a wide array of adding and editing values of the underling set of data bound to the grid.

Further information regarding the classes, options, events, methods and themes of this API are available under the associated tabs above.

If the number of rows and columns stays the same then it looks like all you need to send is wx GRIDTABLE_REQUEST_VIEW_GET_VALUES, otherwise you'll need to send messages to adjust the number of rows and columns and then the wx GRIDTABLE_REQUEST_VIEW_GET_VALUES message.

Something like this (untested pseudo code): class My Table(wx Py Grid Table Base): ...

Leave a Reply

bruno mars skyler grey dating