Check if row is hidden.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Elite Hunter
    New Member
    • Apr 2011
    • 8

    Check if row is hidden.

    Hi everyone:

    Please, be patient. I'm new to this forums and English is not my native language.

    I have a little trouble with my code. You'll see. I'm using the developer express GridControl tool. I have a Gridview in it with a table bound to it. The control lets you filter your info. I have a Select all button that works, the only problem is that if you filter the data and press the select button it selects all the rows, not only the ones that are actually shown on the grid, and I need only the shown ones. I'm selecting via my dataset that is declared globally for other purposes. Can you help me with this? Thanx
  • Elite Hunter
    New Member
    • Apr 2011
    • 8

    #2
    I didn't remember that I had this post. This problem was solved long ago. I'll give the solution just in case someone else needs it.

    The only thing you need to do is a SELECT to your dataset. In my case it looked something like this:

    dset.Tables(0). Select("Send = true")

    "Send" is the name of a checkbox column. That was it. That way you will only get the ones that are selected and not every row. Hope it helps someone

    Comment

    Working...