Hi,
If the row is matching a specific condition (datacell value to some constant value) then these row should be selected otherwise not.
Please let me know, how to achieve this?
Thanks,
Ganesh.
Ganesh,
Take a look at the sample that I've attached and let me know how its behavior meets your needs. I'm sure that we'll need to change it some, but having the same sample to work with will help in describing what functionality needs to change.
As far as the first issue, we'd have to see the issue demonstrated in a sample to determine what is happening.
Chris
Hi Chris,
Is that the one "NetAdvantage_WinForms_20091_SR_2094.msp" service release you are talking about?
Even I tried with this but getting some weird errors so I reverted back to base release.
When the header checkbox is checked, you want it to actually select the rows that match some value in another column?
-Yes it should be.
What do you want to happen when the user unchecks the header checkbox? -It should unselect all check boxes. Now what happens when the checkbox in the cell is checked? Does it select that row? Or does it leave the selected rows alone, and simply synchronize the header checkbox to match that of selected rows?
It selects the row and not synchronize the header checkbox. (We have some stuff on Afterrowactivated.)
Problems
1. On first click after data load header checkbox gets selected but the row checkbox doesnot. On 2nd click onward it select/select all rows.
2. If all the rows are selected and then if we deselect any of the selected row checkbox it doesnot gets sinchronized with header checkbox.
Hope you will understand the concern and situation.
Ganesh Jagtap.
Hey Ganesh,
In regards to nothing happening on the first click, you might want to make sure you have the latest service release of NetAdvantage, as NetAdvantage 2009 Volume 1 was the initial release of this feature.
I kept trying to put together a sample for you, but I'm still having some difficulty understanding your desired behavior.
When the header checkbox is checked, you want it to actually select the rows that match some value in another column? What do you want to happen when the user unchecks the header checkbox?
Now what happens when the checkbox in the cell is checked? Does it select that row? Or does it leave the selected rows alone, and simply synchronize the header checkbox to match that of selected rows?
Due to the confusion and urgency, I may have to pass this issue to our developer support team to help provide a better one on one experience. Any sample you can provided to help clarify the situation would be appreciated.
Chris.
We have some urgency so could you please guide us quickly.
Thanks in Advance,
Ganesh
Thanks for your quick response.
And thanks a lot for the expansion quick fix and it worked absolutely as we intended.
Please let me know if you need furthur details.