Updating grid data
Hello, In order to change local Data Source's data you should use its data method passing the new data.
This will automatically trigger Data Source change event and notify the associated widgets (in this case the Grid widget) to repaint themselves.
Note that calling read method will repopulate the Data Source.
In your case where local transport is used, this will result in filling the Data Source with the initial (provided when it was created) data.
This is the code of my gridview I'm completely lost on what to do in the "bsend_Click" part.
I just know that when the user clicks the button the data from the textbox should be save in the SQL table row where the Message ID matches, but I havent figure it out how to obtain those two values. you do not indicate which technology you are using.
Once that happens then you need to send messages to the grid to notify it. Is there another way to tag that row has been specifically added, rather than just a change in the row count? Both the ig Grid and ig Hierarchical Grid controls feature data updating in the grid. End Batch() msg = wx Grid Table Message(self, wx GRIDTABLE_REQUEST_VIEW_GET_VALUES) self. Process Table Message(msg) Obviously it would make more sense to allow the table to be reset in an existing grid, or at least have a single table message that would do all of the above for you.Good day, this is my first time posting here so apologies in advance if I do something wrong. I'm bringing data from a SQL Table and showing it in a Gridview.