T
tommytash
Hi,
I have a datagrid with a checkbox column, and when, after the user
clicks a button, I do the famous "for each (datagriditem variable) in
datagrid.items....next", the datagrid.items.count is 0, even though
the datagrid.columns has the right number of columns from it's
datasource.
If I called this right after the datagrid is loaded, it has items and
works fine. It's when it's called after 1) the grid is loaded, and 2)
the button is clicked, for some reason, it has columns, but no
items.
Anyone have an idea what would cause this?
I have a datagrid with a checkbox column, and when, after the user
clicks a button, I do the famous "for each (datagriditem variable) in
datagrid.items....next", the datagrid.items.count is 0, even though
the datagrid.columns has the right number of columns from it's
datasource.
If I called this right after the datagrid is loaded, it has items and
works fine. It's when it's called after 1) the grid is loaded, and 2)
the button is clicked, for some reason, it has columns, but no
items.
Anyone have an idea what would cause this?