iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
In Webgrid 7, when scrolling to the right, the grid will try to display as many rows has it can.
For example, if a column is very high, only a few lines wil be visible. But if by scrolling right , the colums have less data, more rows will be displayed.
When a row is selected, we want this row to remain visible in the grid even when scrolling horizontally. But when we use the horizontal scroll bar the row is being pushed above the screen and is no longer visible
What can we do to keep the selected line visible?
Thanks
Hai Pierre,
I am having a hard time to understand on you issue. Can you explain it in more detail and more specific ?, or if you can attach a video represents your issue would be better.
Thank you,
Andi Santoso.
Hi
As requested I have enclosed a video showing how I loose focus on the row I am editing.
I have also included the aspx page.
Hope this will help.
Hi Pierre,
I am still having a problem to understand your issue. On the first screenshot shows that you selected on a specific row, then on the second screenshot, you said "On the second slide, I have simply moved to the right of the screen. The row which was highlighted in grey is no longer visible.", but as I notice, the height of the row on the first screenshot is higher than the height of the row on the second screenshot, how could you do that ? Is that a different table ?
And just before, you said on the second screen shot, "I have simply moved to the right of the screen. The row which was highlighted in grey is no longer visible." It stated that you move the screen to the right, but howcome on the third screenshot you said "On the third slide, I had to scroll up the screen to view the highlighted line.", if you select a row and you scroll down, of course the selected row is gone, that is why you need to scroll up to see that specific row again. So actually which side have you intented to scrool the table?
Thank youAndi Santoso
Andi,
The height of the row on the first screenshot is higher than the height of the row on the second screenshot,
Yes the height on the first screenshot is higher because some colums have more data which require more lines to display.
If you look on the video slowly, you will see than when the field titled ME Activity is moved to the left and is no longer visble, the grid then shinks.
The remaining fields have only one line.
The grid shinks to display more lines because there is more lines to display.
That makes the line I had selected no longer visible. It scrolls up! To view the line, THEN I have to scroll up because the line is not visible anymore.
So it is when I am tabbing to the right than the grid moves up.
I have to move up after because my data is no longer visible.
Thank you for your more detail informations. I have succeed to replicate your issue. I will report this to our development team to be checked. I will give you an advance notice as soon as possible.
Andi Santoso
After we investigate it, the problem is with column freezing, when you try to move the slide and the height is changing to auto default which cause the height is changing and in the result, the selected row is moving.
One way to prevent this to occur is by setting the default height for all the cell, which you can achieve by seting the layout.
Here are the sample code:
<LayoutSettings RowHeightDefault="200px" AllowColumnFreezing="Yes"> <HeaderStyle Height="50px"/> <FreezePaneSettings ActiveFrozenColumns="2" / </LayoutSettings>
By setting the "RowHeightDefault to 200px, so all the rows height are set to 200px. I hope it can help and please do not hesitate to ask if you have more questions.
Hi Andi,
Your solution is not acceptable for our client. They want to see as many rows as possible and by setting a default height they will see less rows.
One
Once a row is selected, moving the slide should not make the selected row disappear. It should not move off the screen. How can we make the selected line remain visible and still use the freeze.
Thank you
Pierre
Sorry to tell you, but that is the default behaviour of WebGrid. So it would be, either set all the height row to the maximum, based on the data field, to keep focus on the selected row when we scroll to the right or make it with a regular height.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname