|
| [WD20] Select and highlite a row/column in a table |
| Iniciado por guest, 17,abr. 2016 17:22 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 17,abril 2016 - 17:22 |
Hi,
one of my users ask me if I can provide a "search function" like Excel does. He wants something like a fulltext search over all columns (there are a lot).
Excel search the whole table, list the results in a window and if the user selects a result, it jumps to the cell and highlited it.
So far so good. My first idea was AAF, but it founds only results in the visible part of the table. So I have to build my own procedure.
Is there any way to jump and highlite a specific column/row ?
Tabelselect() and tableposition() only works with rows ... |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,abril 2016 - 17:45 |
Ok, highlite and jump to the row is no problem. But I don´t know how to jump to a specific column (cell) |
| |
| |
| | | |
|
| | |
| |
| Publicado el 17,abril 2016 - 21:43 |
your friend is setfocus (Tablename.columnname)
highlite a column is also possible : (Tablename.columnname..brushcolor = lightred)
regards, heinz |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,abril 2016 - 07:58 |
Hi Heinz,
no, is not my friend . It doesn´t work. I have 50 columns. I use
setfocus(mytable.col_50) (which is the last column outside the visible area of the table)
The table doesn´t scroll to the last column. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 18,abril 2016 - 08:02 |
ok, I found it:
It works only if the table is in edit mode .... |
| |
| |
| | | |
|
| | | | |
| | |
|