PDA

View Full Version : Name picker via Panel - Events?



MikeyH
28 May 2008, 4:08 AM
Hello, I'm using the excellent Facebook style Domino name picker from Jake Howlett within EXT via a Panel (using the contentEl config option).

I have the issue that it doesn't quite overlay any subsequent fields below the picker properly, so I'm trying to hide any such fields upon the picker being triggered in EXT. (see attachment)

I've tried various public events (enable/activate/deactivate etc) without success. I'm simply trying to hide the fields which exist below the name picker whenever it does the name lookup bit (and therefore drops down a list of names from the Panel EXT element), then show them again when the name list is removed.

Anyone got any ideas?

Thanks
Mike

RWaters
28 May 2008, 5:29 AM
IE often has this problem where fields (especially dropdowns) show through. Most of the Ext components offer a useShims parameter which places an empty iframe underneath the 'drop-down' div that is being rendered. I have not fussed around with Jake's name picker though, and am not quite sure what it would take to work that in.

MikeyH
28 May 2008, 6:15 AM
thanks for you reply Rich - I've since managed to get it to work (bit of a fudge admittedly) by hiding any fields which exist under the section with the overlay problem, then showing them again when the name lookup closed.

Cheers
Mike

MikeyH
28 May 2008, 6:48 AM
ah...I spoke too soon!

Tested it in IE and I now only get the name list drop down so far as the position of the next field below. So although I'm hiding the field below it wont render the name list beyond the position of the fields I've hidden.

I'm setting useShims = true without any joy.

Any ideas?

Mike

RWaters
28 May 2008, 7:13 AM
Heh, I was trying to explain how Ext does it. Using Jake's namepicker you'll likely have to hack the html it is creating to render the drop down.