WD26 Databinding in Table + bestimmte Zeilen hervorheben / Row specific hightlighting
Verfasst: 23. Oktober 2023, 15:35
Windev 26
Ich nutze Databinding in einer Tabelle. Leider kann ich im Event "Display a row of TABLE..." nicht einzelne Zeilen hervorheben, also z.B. FontUnderlined nutzen. Also überlege ich, was ich stattdessen machen kann. Gibt es die Möglichkeit einen Tooltipp abhängig von der gewählten Zeile anzuzeigen, oder fäll euch was anderes ein? Unten hab ich ein paar Zeilen Code und ihre Auswirkungen
I am using data binding in a table. Unfortunately, i can't find a way in the event "Display a row of TABLE..." to adress row-specific values like FontUnderlined, etc. So I'm thinking of other ways to hightlight some rows, for example hovering a table row -> row specific tool tip. Can you think of an solution?
in "Display a row of TABLE_Objects"
TABLE_Objects.COL_Type = "ABC" -> works
TABLE_Objects.COL_Type.FontUnderlined = True -> changes whole row
TABLE_Objects[TABLE_Objects].COL_Type.FontUnderlined = True -> crashes (can't convert Databinding object type to int)
Ich nutze Databinding in einer Tabelle. Leider kann ich im Event "Display a row of TABLE..." nicht einzelne Zeilen hervorheben, also z.B. FontUnderlined nutzen. Also überlege ich, was ich stattdessen machen kann. Gibt es die Möglichkeit einen Tooltipp abhängig von der gewählten Zeile anzuzeigen, oder fäll euch was anderes ein? Unten hab ich ein paar Zeilen Code und ihre Auswirkungen
I am using data binding in a table. Unfortunately, i can't find a way in the event "Display a row of TABLE..." to adress row-specific values like FontUnderlined, etc. So I'm thinking of other ways to hightlight some rows, for example hovering a table row -> row specific tool tip. Can you think of an solution?
in "Display a row of TABLE_Objects"
TABLE_Objects.COL_Type = "ABC" -> works
TABLE_Objects.COL_Type.FontUnderlined = True -> changes whole row
TABLE_Objects[TABLE_Objects].COL_Type.FontUnderlined = True -> crashes (can't convert Databinding object type to int)