change label value of grid in wxPython Topic is solved

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
User avatar
pikkip
Knows some wx things
Knows some wx things
Posts: 37
Joined: Mon Sep 26, 2016 6:08 am

change label value of grid in wxPython

Post by pikkip » Mon Jun 12, 2017 11:16 am

I wanted to change the label value of columns in wxPython grid. Its value should be set as 1,2,3,...How can I do that? :(

User avatar
doublemax
Moderator
Moderator
Posts: 14875
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: change label value of grid in wxPython

Post by doublemax » Mon Jun 12, 2017 12:27 pm

In the C++ API it's done with wxGrid::SetColLabelValue()
http://docs.wxwidgets.org/trunk/classwx ... 5d55c4b241
Use the source, Luke!

Post Reply