Jump to content
Nishant

FlexGrid - Auto Scroll Issue

Recommended Posts

Hi

In our project we have a custom form which can find the text string on grid and focus the row to the user. It makes use of FirstDisplayedScrollingRowIndex , property to scroll to that particular row once match is found. This functionality works fine when we do the search initially but in case after searching the record if we scroll up or down far away from the current selected row which has the record searched previously and tries to search it again , code shows the right index and set's the FirstDisplayedScrollingRowIndex , but on UI auto scroll doesn't works. It should have scrolled to the record found. if we try to click on other rows to change the current index of grid and try again it works fine. 

 

Please find attached email for more details.

code snippet below:-

 if (!strGrid.Rows[i - 1].Properties().Displayed)
               {
                   strGrid.Properties().FirstDisplayedScrollingRowIndex = i;
               }

FW_ FlexGrid scroll.msg

Share this post


Link to post
Share on other sites

Hi Nishant, We've been reviewing the issue and the code snippet. Can you provide us mofre details about the file where that code snippet is located. We look for that into our framework and the migrated code of you applicaiton but we were unable to find that piece of code. 

 

Share this post


Link to post
Share on other sites

Hi OlmanQuesada,

You can find the code in "frmFind.cs" file , grid related functionality is in "modFind.cs" file.  Project Name is "FraudTest"

Let us know if you need more information. 

Thanks,

Nishant Joshi

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use