PDA

View Full Version : Grids in multiple tab pages



Jim Spence
28-Aug-2007, 11:01 AM
I have a screen with two tab pages, each showing a grid. There is no
repetion of database fields, i.e. all columns in the first tab page
grid are different than those in the second tab page.

When switching tab pages, the hightlighted/editable record in the "To"
tabpages matches highlighted record in the "From" tabpage. This is
good, very good. Customers will love it.

The problem is that the other visible records have not been
adjusted/refreshed, so the highlighted record appears out of order.

Is there a way I can rebuild the grid, keeping the same record
highlighted and also on the same grid row number (i.e if it was in the
5th row of the first tab page, then it is on the 5th row of the other
grid) ?

If it would help, I can submit a customer.asp and customer.dat that
will illustrate the issue.

Jim Spence
HCSS

Harm Wibier
3-Sep-2007, 03:28 AM
Hello Jim,

There is a big chance that this problem is also fixed in the 1.1 release
with the new multiple grid support. Can you provide us with more detailed
information about the situation in which this behavior occurs? (what is the
relation between the two tables? Maybe a sample of you're source code?)

--
Regards,


Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl/

"Jim Spence" <Jim.Spence@hcss.com> wrote in message
news:5ih8d3leios1j6mtdq2bk0pdlegdbeoitg@4ax.com...
>I have a screen with two tab pages, each showing a grid. There is no
> repetion of database fields, i.e. all columns in the first tab page
> grid are different than those in the second tab page.
>
> When switching tab pages, the hightlighted/editable record in the "To"
> tabpages matches highlighted record in the "From" tabpage. This is
> good, very good. Customers will love it.
>
> The problem is that the other visible records have not been
> adjusted/refreshed, so the highlighted record appears out of order.
>
> Is there a way I can rebuild the grid, keeping the same record
> highlighted and also on the same grid row number (i.e if it was in the
> 5th row of the first tab page, then it is on the 5th row of the other
> grid) ?
>
> If it would help, I can submit a customer.asp and customer.dat that
> will illustrate the issue.
>
> Jim Spence
> HCSS