Quantcast
Channel: Our ComponentOne » All Posts
Viewing all articles
Browse latest Browse all 14170

Reply To: FindRow using value in flex.SetUserData

$
0
0

Hello Chris,

In order to find row via UserData, you need to manually traverse each row and then, use GetUserData() method to find the specific row. Here is the custom method which you may use:

protected int FindRowViaUserData(string UserData,int colindex)
        {
            for (int row = 1; row < 10; row++)
            {
                if (c1FlexGrid1.GetUserData(row, colindex).ToString() == UserData)
                    return row;
            }

            return -1;
        }

Regards


Viewing all articles
Browse latest Browse all 14170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>