i have a situation where i need the first row of my grid to remain visible while scrolling, in the same manner as row labels do.
i cannot use row label becuase i need to use a wxGRID_VALUE_CHOICE type drop down.
so what are my options? is this at all possible?
Timothy Smith wrote:
i have a situation where i need the first row of my grid to remain visible while scrolling, in the same manner as row labels do.
i cannot use row label becuase i need to use a wxGRID_VALUE_CHOICE type drop down.
so what are my options? is this at all possible?
The Grid class itself doesn't have support for it but you can probably do it by having two grids using the same table, and put them in a splitter window, or something similar.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Robin Dunn wrote:
Timothy Smith wrote:
i have a situation where i need the first row of my grid to remain visible while scrolling, in the same manner as row labels do.
i cannot use row label becuase i need to use a wxGRID_VALUE_CHOICE type drop down.
so what are my options? is this at all possible?The Grid class itself doesn't have support for it but you can probably do it by having two grids using the same table, and put them in a splitter window, or something similar.
if i do so, when i enter a value into one grid and it does an insert row, that won't insert a row in both grids will it. i'll have to manually diddle that.
Timothy Smith wrote:
Robin Dunn wrote:
Timothy Smith wrote:
i have a situation where i need the first row of my grid to remain visible while scrolling, in the same manner as row labels do.
i cannot use row label becuase i need to use a wxGRID_VALUE_CHOICE type drop down.
so what are my options? is this at all possible?The Grid class itself doesn't have support for it but you can probably do it by having two grids using the same table, and put them in a splitter window, or something similar.
if i do so, when i enter a value into one grid and it does an insert row, that won't insert a row in both grids will it. i'll have to manually diddle that.
Correct.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!