Loading...
Mark´s Playpen Integrating ExtJS javascript library with Oracle Application Express
APEX_PUBLIC_USER
Value
Rows Displayed
Instructions
View the source for the javascript code to build the customer lookup.

The javascript calls a database procedure:
PROCEDURE customer_lookup
  (p_callback    varchar2
  ,p_query       varchar2 default null
  ,p_limit       number   default 20 
  ,p_start       number   default 0  
  ,p_customer_id number   default null
  );

 
Nothing very tricky on the database side - just a cursor loop, returning records in a JSON format using htp.p statements.
I've rolled my own JSON escape function, but noticed there is one in the FLOWS_030100.wwv_flow_ajax package - must investigate this further.

You'll also notice I over-rode some CSS for the interactive report region to make it look more like the rest of the app. Just enough to show it's do-able.
Holiday Log
Page Comments

Author Comment
fsdaf​asfsfqrq
Nice work Mark!I try to use this sample to build a search field on a standard ApEx LIST ITEM, but I have problems to view items listed, anche the stored data when I go to edit a record...any suggestion?
sihemit is very nice good application;thank you very much for your help......
regards sihem​
ads adsasdad
sgsfdf sdvsdfds
CineQtest
Partha If you minimize the "more information" and maximize it again (or resize the region), then, the Options in Interactive reports is not displayed properly;
Me Myself and INice interface

I like this editor 
popolvery good job 
hi nice stuff
me Yeah!
natasa Bravo!
ThorVery nice 
MaxDude, this is very good stuff! 
ddd very smart
 
Customer
Home Address
Destination
Holiday Start
Holiday End
Description
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304France, French Republic16-FEB-200928-OCT-2009-
Doe, sdsdfsdMain Street sdfsdfdfd 568 YOAnguilla18-FEB-200916-FEB-2009jg
Abelism, Argentinaaaaa29 Elizabeth Road's Abcdefr Rotterdam CA 6639715United States of America---
cabarkapa, vukosav2/482-484 Sandy Bay Rd fsdsdfsd DARLINGHURST NSW 1300Andorra, Principality of10-FEB-200928-FEB-2009-
Abelism, Argentinaaaaa29 Elizabeth Road's Abcdefr Rotterdam CA 6639715Marshall Islands20-FEB-200928-FEB-2009-
Abelism, Argentinaaaaa29 Elizabeth Road's Abcdefr Rotterdam CA 6639715Haiti, Republic of10-FEB-200927-FEB-2009-
Adams, RFQWADGVAER1254 Bathurst Street ff SEACOMBE GARDENS ny 5047Angola, Republic of---
Smith, Bernadette24 Tingira Rd PARRAWEENA NSW 2339Antigua and Barbuda---
Adamsss, ClaretWqwser test by visitor2 NOONBI NSW 2794Andorra, Principality of18-FEB-200926-FEB-2009qsswsd
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Russian Federation01-MAR-200904-MAR-2009FDFDFDFDFDF
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Albania, Republic of---
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Angola, Republic of03-MAR-200914-OCT-2009-
cabarkapa, vukosav2/482-484 Sandy Bay Rd fsdsdfsd DARLINGHURST NSW 1300Algeria, People's Democratic Republic of13-NOV-200826-DEC-2008sdfadfafadfa
Bell, Anita113 Ronald St PINDI PINDI QLD 4798Chad, Republic of12-MAR-200817-DEC-2008-
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Holy See (Vatican City State)16-MAR-200926-MAR-2009-
1 - 15 Next
Page Ref: 200801:2007
Generate: 0.27
  Release 1.0
©2008 Mark Lancaster. All rights reserved.
ExtJs