|
-
Jun 1st, 2025, 09:29 AM
#11
Re: VBFlexGrid Control (Replacement of the MSFlexGrid control)
 Originally Posted by bincong
Yes, I used the method you mentioned, and I must consider whether the fixed row is selected when I use .SelectedRows/.SelectedRow
Thank you. Update released.
I removed the "artificial limitation from MS(H)FlexGrid" that the RemoveItem method was not allowed to remove the last non-fixed row. The vsFlexGrid does actually allow it also. So, I don't consider this a compatibility break.
Regarding .SelectedRows/.SelectedRow I find it logic that the fixed rows are also returned, since they are actually selected. I checked and vsFlexGrid returns also the fixed rows for those two properties.
Alternative is that you change your layout to actually have a "blank" movable row even though there is no data. That way you don't get into the fixed selection thingy and it may look better to the end user.
Last edited by Krool; Jun 1st, 2025 at 09:33 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|