G
Guest
Hi,
I'm having some trouble with my DataGridView. I have it bound to a
DataTable. One column of the grid is a boolean that says whether a row
should be visible. There is also a checkbox outside of the grid that toggles
whether or not the marked rows should be displayed or not.
The problem happens as follows: The toggle is set so that all rows are
displayed. The user checks a new row to become invisible. The user stays on
that row. He then clicks the toggle to hide the marked rows. I get an error
having to do with the currency manager that says I can't make a row that I'm
on invisible.
I was thinking that all I needed to do was put code in the toggle that first
moved off of that row. I couldn't seem to do that.
I've never worked with the currency manager before and did not do anything
with it in this situation.
Can anyone suggest anything?
Art
I'm having some trouble with my DataGridView. I have it bound to a
DataTable. One column of the grid is a boolean that says whether a row
should be visible. There is also a checkbox outside of the grid that toggles
whether or not the marked rows should be displayed or not.
The problem happens as follows: The toggle is set so that all rows are
displayed. The user checks a new row to become invisible. The user stays on
that row. He then clicks the toggle to hide the marked rows. I get an error
having to do with the currency manager that says I can't make a row that I'm
on invisible.
I was thinking that all I needed to do was put code in the toggle that first
moved off of that row. I couldn't seem to do that.
I've never worked with the currency manager before and did not do anything
with it in this situation.
Can anyone suggest anything?
Art