Pascal Ried
3-Feb-2017, 07:59 AM
[Edit: Second March of 2017]
Resolved with DF 19.0 Alpha2 - no weird jumping anymore.
Hey there,
Thanks for all the additions and changes made to DataFlex 2017 so far.
I noticed some weird behaviour for the cWebGrid in Chrome and FireFox.
I first saw it in DF18.1 WebApps and now tested it in the WebOrder of DF19 WebApps.
If the current selected row is not in view (because of scrolling), selection of any row above will not work with mouse clicks.
In DF18.1 (and I thnik 18.2, too) the Grid will also "swallow"/hide some entries above (they just vanish).
Reproducing Steps in the Demo:
1. Start WebOrder of DF19 Examples.
2. Go to Views > Order Entry
3. Select an order and go to the grid.
4. Enter at least 5-10 more than the grid can show without scrolling (depends on monitor size)
-> For me: 22 entries with a WebGrid-Height of 509px (data-dfobj=oOrder.oWebMainPanel.oDetailGrid) showing 15 entries w/o scrolling.
5. scroll down to the end and select the last entry (click into the "Description" or "Price" column of the row)
6. Scroll up and try to select the top-most row (click into the "Description" or "Price" column of the row)
-> It should jump down to the prev. selected row (or even to an "append-new-row"-row) at the bottom.
7. Repeat step 6 (endlessly)
The only way to get to the other row for me is to
A: Clear All / Clear the Grid
B: Use UP/DOWN Keys
C: Use PAGE-UP/PAGE-DOWN Keys or CTRL+POS1
D: "Click my way up" After jumping down, don't scroll and select one further up. Then scroll up a bit and repeat.
- It doesn't matter which Theme is used (I mainly tested Flat Desktop and Web Creme)
Anyone else having problems with this or a way to fix/change this?
I manually changed this with a subclass of the client-class df.WebGrid - but it's more a workaround than a real solution.
-> My guess was to supress some .focus() methods.
I don't think this is wanted.
Any reply highly appreciated.
Resolved with DF 19.0 Alpha2 - no weird jumping anymore.
Hey there,
Thanks for all the additions and changes made to DataFlex 2017 so far.
I noticed some weird behaviour for the cWebGrid in Chrome and FireFox.
I first saw it in DF18.1 WebApps and now tested it in the WebOrder of DF19 WebApps.
If the current selected row is not in view (because of scrolling), selection of any row above will not work with mouse clicks.
In DF18.1 (and I thnik 18.2, too) the Grid will also "swallow"/hide some entries above (they just vanish).
Reproducing Steps in the Demo:
1. Start WebOrder of DF19 Examples.
2. Go to Views > Order Entry
3. Select an order and go to the grid.
4. Enter at least 5-10 more than the grid can show without scrolling (depends on monitor size)
-> For me: 22 entries with a WebGrid-Height of 509px (data-dfobj=oOrder.oWebMainPanel.oDetailGrid) showing 15 entries w/o scrolling.
5. scroll down to the end and select the last entry (click into the "Description" or "Price" column of the row)
6. Scroll up and try to select the top-most row (click into the "Description" or "Price" column of the row)
-> It should jump down to the prev. selected row (or even to an "append-new-row"-row) at the bottom.
7. Repeat step 6 (endlessly)
The only way to get to the other row for me is to
A: Clear All / Clear the Grid
B: Use UP/DOWN Keys
C: Use PAGE-UP/PAGE-DOWN Keys or CTRL+POS1
D: "Click my way up" After jumping down, don't scroll and select one further up. Then scroll up a bit and repeat.
- It doesn't matter which Theme is used (I mainly tested Flat Desktop and Web Creme)
Anyone else having problems with this or a way to fix/change this?
I manually changed this with a subclass of the client-class df.WebGrid - but it's more a workaround than a real solution.
-> My guess was to supress some .focus() methods.
I don't think this is wanted.
Any reply highly appreciated.