By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,133 Members | 1,113 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,133 IT Pros & Developers. It's quick & easy.

Loop through and Manipulate MSHFlexGrid

100+
P: 144
hello,

i have this MSHFlexGrid in my form and a commandButton, which when pressed, it will add new row to he MSHFlexGrid,

the questions are:
1. how can i manually specify the column header? there should be 3 columns and how to name each column?

2. how can i loop through an MSHFlexGrid object. i need to see if the same row ID is being inserted. if so, i only need to update that row instead of inserting a new one. so it will be like this

for i=0 to MSHFlexGrid.Rows - 1
//how to cek value of col 1 here?
loop

i've been googling for this and can't seem to find my answer.


Thank you.
Apr 12 '10 #1

✓ answered by Guido Geurs

dear,

I hope this will help You (see attachment)


br,

Share this Question
Share on Google+
2 Replies


Guido Geurs
Expert 100+
P: 767
dear,

I hope this will help You (see attachment)


br,
Attached Files
File Type: zip Loop through and Manipulate MSHFlexGrid.zip (1.7 KB, 368 views)
Apr 12 '10 #2

100+
P: 144
hi,

thank you for your time giving me an example.
Apr 13 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.