PDA

View Full Version : Grid lookups



Bob Worsley
29-Jul-2007, 11:59 AM
I think maybe a new bug. Put a lookup on a column in a grid, and start to
create a new record. Use the lookup and select some record into the grid,
and once selected, look for where the cursor is. The focus does not return
to the grid as far as I can see. If at that point you hit save (toolbar)
the new record clears and is lost. If you click somewhere on the record
before saving, it will save properly. The calendar lookup seems to work ok,
the focus returns to the button.
Bob

Harm Wibier
30-Jul-2007, 01:48 AM
Hello Bob,

I don't see this problem in the samples. Can you post the exact code from
this grid with lookup (button I guess)?

--
Regards,


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


"Bob Worsley" <bworsley@comcast.net> wrote in message
news:lLVuYGg0HHA.4680@dacmail.dataaccess.com...
>I think maybe a new bug. Put a lookup on a column in a grid, and start to
> create a new record. Use the lookup and select some record into the grid,
> and once selected, look for where the cursor is. The focus does not
> return
> to the grid as far as I can see. If at that point you hit save (toolbar)
> the new record clears and is lost. If you click somewhere on the record
> before saving, it will save properly. The calendar lookup seems to work
> ok,
> the focus returns to the button.
> Bob
>
>
>

Bob Worsley
30-Jul-2007, 07:10 AM
Here ya go...

<td>
<input readonly="readonly"
type="text" size="20" title="Company Name" name="pudeladr__company_name"
value="" />
<input class="LookupButton"
type="button" title="List of all records" tabindex="-1"
vdfControlType="lookupdialog" vdfLookupTable="PuDelAdr"
vdfWebObject="oShedevnt" vdfLookupFields="PuDelAdr__company_Name,
PuDelAdr__address, PuDelAdr__city, PuDelAdr__state" />
</td>

I didn't mention that the field is set tp readonly because I'd removed that
property and it didn't make any difference. The attached pix shows the
exact layout of my grid, notice that all fields after the company selection
are disabled, that might make a difference, though I think I tested by
removing those properties as well.
Bob


"Harm Wibier" <harm.wibier@dataaccess.nl> wrote in message
news:Ia1evWn0HHA.1512@dacmail.dataaccess.com...
> Hello Bob,
>
> I don't see this problem in the samples. Can you post the exact code from
> this grid with lookup (button I guess)?
>
> --
> Regards,
>
>
> Harm Wibier
> Data Access Europe B.V.
> http://www.dataaccess.nl/
>
>
> "Bob Worsley" <bworsley@comcast.net> wrote in message
> news:lLVuYGg0HHA.4680@dacmail.dataaccess.com...
> >I think maybe a new bug. Put a lookup on a column in a grid, and start
to
> > create a new record. Use the lookup and select some record into the
grid,
> > and once selected, look for where the cursor is. The focus does not
> > return
> > to the grid as far as I can see. If at that point you hit save
(toolbar)
> > the new record clears and is lost. If you click somewhere on the record
> > before saving, it will save properly. The calendar lookup seems to work
> > ok,
> > the focus returns to the button.
> > Bob
> >
> >
> >
>
>
>

Harm Wibier
30-Jul-2007, 09:09 AM
Unfortunately I'm unable to reproduce this behavior. Haven't tried the
readonly fields but you say that this doesn't invluence the problem. Are you
sure there are no javascript errors on the page? Have you tried another
browser?


--
Regards,


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

"Bob Worsley" <bworsley@comcast.net> wrote in message
news:L66SpJq0HHA.1992@dacmail.dataaccess.com...
> Here ya go...
>
> <td>
> <input readonly="readonly"
> type="text" size="20" title="Company Name" name="pudeladr__company_name"
> value="" />
> <input class="LookupButton"
> type="button" title="List of all records" tabindex="-1"
> vdfControlType="lookupdialog" vdfLookupTable="PuDelAdr"
> vdfWebObject="oShedevnt" vdfLookupFields="PuDelAdr__company_Name,
> PuDelAdr__address, PuDelAdr__city, PuDelAdr__state" />
> </td>
>
> I didn't mention that the field is set tp readonly because I'd removed
> that
> property and it didn't make any difference. The attached pix shows the
> exact layout of my grid, notice that all fields after the company
> selection
> are disabled, that might make a difference, though I think I tested by
> removing those properties as well.
> Bob
>
>
> "Harm Wibier" <harm.wibier@dataaccess.nl> wrote in message
> news:Ia1evWn0HHA.1512@dacmail.dataaccess.com...
>> Hello Bob,
>>
>> I don't see this problem in the samples. Can you post the exact code from
>> this grid with lookup (button I guess)?
>>
>> --
>> Regards,
>>
>>
>> Harm Wibier
>> Data Access Europe B.V.
>> http://www.dataaccess.nl/
>>
>>
>> "Bob Worsley" <bworsley@comcast.net> wrote in message
>> news:lLVuYGg0HHA.4680@dacmail.dataaccess.com...
>> >I think maybe a new bug. Put a lookup on a column in a grid, and start
> to
>> > create a new record. Use the lookup and select some record into the
> grid,
>> > and once selected, look for where the cursor is. The focus does not
>> > return
>> > to the grid as far as I can see. If at that point you hit save
> (toolbar)
>> > the new record clears and is lost. If you click somewhere on the
>> > record
>> > before saving, it will save properly. The calendar lookup seems to
>> > work
>> > ok,
>> > the focus returns to the button.
>> > Bob
>> >
>> >
>> >
>>
>>
>>
>
>
>

Bob Worsley
31-Jul-2007, 08:28 PM
In IE, all works fine, including if the lookup field is set to readonly. In
FireFox it's as I described, the lookup field or button never gets the focus
back. I've tried both internal and external lookups. The Order example
works fine for me too.
Bob

"Harm Wibier" <harm.wibier@dataaccess.nl> wrote in message
news:eC6HyMr0HHA.3972@dacmail.dataaccess.com...
> Unfortunately I'm unable to reproduce this behavior. Haven't tried the
> readonly fields but you say that this doesn't invluence the problem. Are
you
> sure there are no javascript errors on the page? Have you tried another
> browser?
>
>
> --
> Regards,
>
>
> Harm Wibier
> Data Access Europe B.V.
> http://www.dataaccess.nl/
>
> "Bob Worsley" <bworsley@comcast.net> wrote in message
> news:L66SpJq0HHA.1992@dacmail.dataaccess.com...
> > Here ya go...
> >
> > <td>
> > <input readonly="readonly"
> > type="text" size="20" title="Company Name" name="pudeladr__company_name"
> > value="" />
> > <input class="LookupButton"
> > type="button" title="List of all records" tabindex="-1"
> > vdfControlType="lookupdialog" vdfLookupTable="PuDelAdr"
> > vdfWebObject="oShedevnt" vdfLookupFields="PuDelAdr__company_Name,
> > PuDelAdr__address, PuDelAdr__city, PuDelAdr__state" />
> > </td>
> >
> > I didn't mention that the field is set tp readonly because I'd removed
> > that
> > property and it didn't make any difference. The attached pix shows the
> > exact layout of my grid, notice that all fields after the company
> > selection
> > are disabled, that might make a difference, though I think I tested by
> > removing those properties as well.
> > Bob
> >
> >
> > "Harm Wibier" <harm.wibier@dataaccess.nl> wrote in message
> > news:Ia1evWn0HHA.1512@dacmail.dataaccess.com...
> >> Hello Bob,
> >>
> >> I don't see this problem in the samples. Can you post the exact code
from
> >> this grid with lookup (button I guess)?
> >>
> >> --
> >> Regards,
> >>
> >>
> >> Harm Wibier
> >> Data Access Europe B.V.
> >> http://www.dataaccess.nl/
> >>
> >>
> >> "Bob Worsley" <bworsley@comcast.net> wrote in message
> >> news:lLVuYGg0HHA.4680@dacmail.dataaccess.com...
> >> >I think maybe a new bug. Put a lookup on a column in a grid, and
start
> > to
> >> > create a new record. Use the lookup and select some record into the
> > grid,
> >> > and once selected, look for where the cursor is. The focus does not
> >> > return
> >> > to the grid as far as I can see. If at that point you hit save
> > (toolbar)
> >> > the new record clears and is lost. If you click somewhere on the
> >> > record
> >> > before saving, it will save properly. The calendar lookup seems to
> >> > work
> >> > ok,
> >> > the focus returns to the button.
> >> > Bob
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
>
>
>