Jump to content


Photo

How to set a row visible or not


  • Please log in to reply
No replies to this topic

#1 qi130

qi130
  • Members
  • 27 posts

Posted 16 September 2025 - 02:20 PM

Hello,

 

I need to set visibility of rows in a dbgrid ("pool") depending on they exist in another dbgrid.("selection") to simulate a move from one grid to the other grid (both directions). pool items never change, selection items can.

 

When application starts, the pool is loaded, all row visible.

When loading a main application "record" from the DB, with its own selected items, I need to set visible:=false these items from the pool. (hope it's clear)

I currently try, for each items in selection grid to find its "key" in the pool grid 

poolgrid.FindText(0,key,SearchOptions)

Is it correct ?

Then, how to hide this LastFoundRow ?

 

Thanks.

 

 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users