2
我一直在尋找一些解決方案,但我沒有得到它。高亮行wxgrid
我想強調的wx.Grid行,當日期結束。
是有可以做的任何功能?
<i>
def load_grid_fare (self, fares):
for i, j, k in fares :
self.grid_fare.SetCellValue(count_rows,0,str(i.fare_id))
self.grid_fare.SetCellValue(count_rows,1,str(j.service_name).encode('utf8'))
self.grid_fare.SetCellValue(count_rows,2,str(k.vehicle_type_name).encode('utf8'))
self.grid_fare.SetCellValue(count_rows,3,str(i.fare_cash))
self.grid_fare.SetCellValue(count_rows,4,str(i.fare_startdate.strftime("%d/%m/%Y")))
self.grid_fare.SetCellValue(count_rows,5,str(i.fare_enddate.strftime("%d/%m/%Y")))
count_rows += 1
謝謝你,我搜索demo文件夾中的一些代碼,並發現與解決方案 – user2167145 2013-03-15 20:32:04