Counter for slot-shaped table

While I've used the plugin counter for items on the page successfully, I would use it for tabular forms of tabular/manual form for the same application to ensure consistency in the application.

Since the meter APEX plugin does not work for tabular forms, I tried to reproduce the function using the jQuery plugin. Also, I checked js and css library are included. The page contains an element of the P1_SPINBOX page that uses the meter plugin.

For example, I changed the report as a table to use class = meter:
  apex_item.text(10,C006,0,null,'class="spinbox" style="text-align:right"') as "SAL",
  apex_item.text(11,C007,0,null,'class="spinbox" style="text-align:right"') as "COMM",
I added the plugin meter jquery in the property page:
// Create group of settings to initialise spinbutton(s). (Optional)
      jQuery(document).ready(
         (function($){
        // Initialise INPUT elements as SpinBoxes: (passing options if desired)
     $("INPUT.spinbox").spinbox;
     })
(function(){apex.jQuery("#P1_SPINBOX").spinbox({"min":0,"max":100,"step":10});})
);
It still does not work. What should I do to get the function of counter for the number of columns in the form of tables?

APEX 4.1
10.1.2 Oracle database

I put an example on the APEX. ORACLE.COM.
Workspace: EDIAZJORGE
Application: Example application (1550)
User: TEST
Password: test
Password:


Robert
http://apexjscss.blogspot.com

Hi Robert,.

I changed your javascript in the service and the Global Variable declaration in commenting on the counter for P1_SPINBOX.

// Create group of settings to initialise spinbutton(s). (Optional)
      jQuery(document).ready(
         (function($){
        // Initialise INPUT elements as SpinBoxes: (passing options if desired)
     $("input.spinbox").spinbox();
     })
//(function(){apex.jQuery("#P1_SPINBOX").spinbox({"min":0,"max":100,"step":10});})
);

It seems that counters now work on SAL and COMM columns in tabular form.

Kind regards
Erik-jan

Tags: Database

Similar Questions

  • Horizontal scrollbar for slot-shaped table

    Hi all

    I'm bring Page where are the two regions.

    Two regions are side by side.

    Second half of the page contains a table that is based on a table that has 80 columns, I use the theme "" Productivity Applications - 26 * ' "

    Version of the APEX is 4.2. Problem is Iam not able to scroll horizontally to see all the columns.

    Can someone let me know how we can add horizontal scroll bar to a tabular presentation so that I can go through all the columns.

    Thank you

    Ch.

    Change defination report

    put

    in the header of the region

    at the foot of the region

  • Dynamic action on slot-shaped table

    Hello

    can someone please help to create dynamic action in the form of tables.

    (1) on page load if the State is 'No' and sysdate is between Nov1st to 30 Nov. User can change the status of and 'Yes' and status Date changed to Nov. 1.

    (2) when the user attempts to change the status of 'Yes' to 'No' and sysdate is between Nov1st to Nov 30, then the status Date changed to Nov. 1.

    Otherwise if sysdate is between Dec1st to Dec30th then Status Date changes to Dec1st.

    Apex. Oracle.com

    w/u/p: nani5048/test/test

    App: 92603 and page 2

    I don't think it's possible with a pure dynamic action
    It takes a bit of javascript or jQuery

    I modified the application, see for yourself

    concerning

  • Problems with slot-shaped table and set the values of column

    Hello

    I have a problem with a tabular presentation.

    I have two tables

    P_detail and table v_master

    columns of v_master:
    v_id
    v_Name
    v_info

    columns of p_detail:
    P_ID
    p_master_fk
    p_name
    p_info

    I want to have a tabular presentation where I can store permanent data retail values. That's why I want to keep the default main column join the detail columns.
    In SQL, I can do this with an outer join:

    SELECT m.v_name, d.p_master_fk, d.p_name, d.p_info
    OF v_master, p_detail
    WHERE v_id = p_master_fk (+)

    I get the lines that exist for the master data and can add values for the columns of detail. I removed the "add lines" because that makes no sense, because the amount lines are already offered at the opening of the tabular presentation.

    Now, I want to get/save the v_id (main table) in the p_master_fk column value

    How can I do this?

    Thank you and best regards,
    Matthias

    Hello

    One approach is to use a database instead trigger. If you define a database view using the query:

    SELECT m.v_id, m.v_name, d.p_id, d.p_master_fk, d.p_name, d.p_info
    OF v_master m, p_detail d
    WHERE v_id = p_master_fk (+)

    Then, create a trigger on the view that will insert in the detail table if d.p_id is null and update the secondary table if d.p_id is not null instead.

    The Apex tabular form is then based on the view (with identifiers like hidden columns) and all treatments multirow Apex should work without modification.

    Rod West

  • Column based on slot-shaped table

    Hello everyone,

    I have a tabular layout with the SQL as source of the region:

    Select
    'EMPNO ',.
    'EMPNO' EMPNO_DISPLAY,
    'ENAME ',.
    "JOB."
    "SAL."
    "COMM"
    NVL(SAL,0) + nvl(comm,0) total_sal,
    "DEPTNO".
    of ' #OWNER # '. " EMP.


    When I run the shape first, it happens with all the lines showing total_sal column as well. But when I change the values for the columns sal and comm, the total_sal does not change unless I submit the values. Is there a way to change the value of total_sal before submitting changes to the database?

    Thank you

    do the column readonly instead of disable.

  • Lov on slot-shaped table

    I need to create a lov on a tabular presentation, using the same table as the form and the need to ignore the line where love will be open.
    How can I read where clause that it ignores the line?

    What is the kind of thing you mean?

    http://Apex.Oracle.com/pls/OTN/f?p=579:29

    This is the code I used:

    select
      ename,
      APEX_ITEM.POPUP_FROM_QUERY(3,job,'SELECT DISTINCT(job), job FROM emp where job !='||nvl(job,99)) test
    FROM emp
    

    Shunt

  • Interactive report features on slot-shaped table

    Hello world

    I need to have a search function on a report like the interactive report. On the interactive report, you can type a word/number in the search box and this word/number search. Then once the research is completed you can search again for a different word/number, narrowing down search you whenever you enter a new word/number. You can do until you have only one remaining line.

    I need this feature in a tabular presentation, but I'm not sure how to write the SQL code.

    Is this possible?

    Thanks in advance,
    N.S.N.O.

    Hello

    OK, I see what you mean... Here's how the IR done so

    SELECT *
    FROM my_table
    WHERE ((INSTR(UPPER(column1),UPPER(:APXWS_SEARCH_STRING_1)) > 0
    OR INSTR(UPPER(column2),UPPER(:APXWS_SEARCH_STRING_1)) > 0
    OR INSTR(UPPER(column3),UPPER(:APXWS_SEARCH_STRING_1)) > 0
    ) and (INSTR(UPPER(column1),UPPER(:APXWS_SEARCH_STRING_2)) > 0
    OR INSTR(UPPER(column1),UPPER(:APXWS_SEARCH_STRING_2)) > 0
    OR INSTR(UPPER(column2),UPPER(:APXWS_SEARCH_STRING_2)) > 0
    OR INSTR(UPPER(column3),UPPER(:APXWS_SEARCH_STRING_2)) > 0
    ))
    

    Is that what you mean?

    See you soon

    Ben

  • Count for each table

    Hello

    I try to count (*) for all the table owned by a user
    I have the following error

    What's wrong?
    Thank you
    declare
    2 i the number;
    3 t_owner varchar2 (20);
    4 t_table_name varchar2 (20);
    5. start
    6 t in (select * from all_tables where owner = "MISAMM")
    7 loop
    8 t_owner: = t.owner;
    9 t_table_name: = t.table_name;
    10 dbms_output.put_line (' :'|| Table t_table_name);
    11 dbms_output.put_line (' owner :'|| t_owner);
    12 select count (*) in I of t_owner.t_table_name;
    14 dbms_output.put_line ('Table :'|| t.table_name |) "lines :'|| TO_CHAR (i));
    15 end loop;
    16 end;
    17.
    Select count (*) in I of t_owner.t_table_name;
    *
    ERROR on line 12:
    ORA-06550: line 12, column 37:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 12, column 1:
    PL/SQL: SQL statement ignored


    Elapsed time: 00:00:00.01

    Hello

    The names of the tables come display of metadata dynamically. Thus, you should use "immediate execution".

    declare
      i            number;
      t_owner      varchar2(20);
      t_table_name varchar2(20);
    begin
      for t in (select * from all_tables where owner = 'MISAMM')
      loop
        t_owner      := t.owner;
        t_table_name := t.table_name;
        dbms_output.put_line('Table:' || t_table_name);
        dbms_output.put_line('Owner:' || t_owner);
        execute immediate 'select count(*) from ' || t_table_name
          into i;
        dbms_output.put_line('Table:' || t.table_name || ' rows:' || to_char(i));
      end loop;
    end;
    /
    

    Also, I wonder why you are not satisfied with the "num_rows" user_tables and all_tables column?

  • How to take the count (*) corresponding to each table in a schema

    Hi all

    could someone please tell me, how can I take the count (*) for all the tables in a schema with the name of the corresponding table.
    I want to choose the table table_name from user_tables and number of rows in the table.

    Thank you
    Afonso

    Try the following script which should run as the owner of the schema:

    SET SERVEROUTPUT ON
    DECLARE
      t VARCHAR2(30);
      stmt varchar2(100);
      cnt number;
    BEGIN
      FOR t IN
      (SELECT table_name FROM user_tables)
      LOOP
        stmt :='select count(*) from ' || t.table_name;
       execute immediate stmt into cnt ;
       dbms_output.put_line(t.table_name || ': ' || cnt || ' rows');
       commit;
      END LOOP;
    END;
    /
    show errors
    
  • Do another counter for usb-6008 VI using Labview 8.5

    I want to create another counter for usb-6008 using Labview 8.5, it is necessary to calculate the two gears simultaneously.

    The best way to proceed is to use the meter.  The counter counts
    signals without having to interrupt the system or use the USB bus.
    When you ask the number of ticks that saw the meter, one
    request is thrown from the CPU to the USB line to the 6008, which then
    request counter "ticks how have you seen?  This number is
    returned on the USB bus, goes to the CPU and display on your
    screen.  Given that the DIO lines on the 6008 are software timed, it is
    no way to guarantee that the data back to the central unit is
    deterministic.  The conceptual difference between software-controlled
    DIO (that nondeterministically returns an entire stream) and a
    meter software-tick-application-controlled (which returns a unique number
    with the number of ticks) prevents us from using the DIO lines on the
    6008. the best way to count more edges is buying more 6008 s.
    Another possibility would be to buy a PCI card to counter such as
    the PCI-6602, who owns 8 counters. Most of the counters we offer in the
    USB form factor is 2 per device.

  • How can I get the shutter count for my Canon 7 d Mark II using Windows XP?

    How can I get the shutter count for my Canon 7 d Mark II using Windows XP? I have been looking for many places and make downloads of files, but I can't seem to find anything. I am wary of downloading software that I know nothing. Any help is greatly appreciated.

    Hi, I paid only $2.99 acquired program namely the supreme court on a 7 d Mark 2

    Search: direstudio.com to find out.

  • How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Hello

    How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Thank you

    Jay.

    Select the connection and right-click on it and select schema statistics collection

  • What is advised to collect statistics for the huge tables?

    We have a staging database, some tables are huge, hundreds GB in size.  Auto stats tasks are performed, but sometimes it will miss deadlines.

    We would like to know the best practices or tips.

    Thank you.

    Improvement of the efficiency of the collection of statistics can be achieved with:

    1. Parallelism using
    2. Additional statistics

    Parallelism using

    Parallelism can be used in many ways for the collection of statistics

    1. Parallelism object intra
    2. Internal parallelism of the object
    3. Inner and Intra object jointly parallelism

    Parallelism object intra

    The DBMS_STATS package contains the DEGREE parameter. This setting controls the intra parallelism, it controls the number of parallel processes to gather statistics. By default, this parameter has the value is equal to 1. You can increase it by using the DBMS_STATS.SET_PARAM procedure. If you do not set this number, you can allow oracle to determine the optimal number of parallel processes that will be used to collect the statistics. It can be achieved if you set the DEGREE with the DBMS_STATS. Value AUTO_DEGREE.

    Internal parallelism of the object

    If you have the 11.2.0.2 version of Oracle database you can set SIMULTANEOUS preferences that are responsible for the collection of statistics, preferably. When there is TRUE value at the same TIME, Oracle uses the Scheduler and Advanced Queuing to simultaneously manage several jobs statistics. The number of parallel jobs is controlled by the JOB_QUEUE_PROCESSES parameter. This parameter must be equal to two times a number of your processor cores (if you have two CPU with 8 cores of each, then the JOB_QUEUE_PROCESSES parameter must be equal to 2 (CPU) x 8 (cores) x 2 = 32). You must set this parameter at the level of the system (ALTER SYSTEM SET...).

    Additional statistics

    This best option corresponds to a partitioned table. If the INCREMENTAL for a partitioned table parameter is set to TRUE and the DBMS_STATS. GATHER_TABLE_STATS GRANULARITY setting is set to GLOBAL and the parameter of DBMS_STATS ESTIMATE_PERCENT. GATHER_TABLE_STATS is set to AUTO_SAMPLE_SIZE, Oracle will scan only the partitions that have changes.

    For more information, read this document and DBMS_STATS

  • Hello! I do a menu print of tarp for a round table, I did this from ms word since I have no idea where can we make a semicircle menu upside. My problem is that it has a very low resolution, please help me how to print possibly with 3' table

    Hello! I do a menu print of tarp for a round table, I did this from ms word since I have no idea where can we make a semicircle menu upside. My problem is that it has a very low resolution, please help me how to print possibly with 3' round table. Thank you

    Oh dear.  It turned into a terrible mess of a thread with opinions and advice.    You do your layout with Word.  In my experience, Word is a nightmare when it comes to positioning many areas of text and images.

    You shouldn't have changed the Word document in a JPG file, because the text all which perfectly progressive, which would be printed to "all" size without loss of image quality, then became an image file.  But if you "had" to make it a JPG, just about the worst possible way to do this is with the Snipping Tool, because the resulting image would have only the resolution of your computer screen.  Dows following?

    How big are the pictures you used in Word?  They probably didn't need to be very large, because each image is only an impression at a relatively small size.

    First thing to try is to open the Word Document and save in PDF format using the Standard option (after you select Save as PDF

    It will keep the text in the form of scalable vector objects which allows printing at any size.  However, I don't have the knowledge of how Word uses images.  I just did a little test, and while I could zoom in to see in the text, I'm not sure that the same is true of the images.  Depends on word refers to the image of the player, or he brings as an object of frame size, and I suspect it's the latter.  You need to do some research on it, because it might make you save a lot of time.

    You have Publisher?  Editor certainly reference the drive images, and friezer downsize to fit the page.  I suspect that you can import a Word into Publisher document, which would put you best part of the way with it.  I would like to test it, but I use it as a loyal user of Adobe InDesign.   If you are forced to restart, then editor or InDesign would be lot better, but it's doable with Photohop.  Just make sure that you start with enough pixels, which means 36 inches at 300 dpi or 10 000 square pixels.  When did save as PDF using the preset high quality printing, and ask your color printer (probably just use sRGB)

    Good luck

  • Make error trying to 'Examining data' for some physical tables in SPR

    Hi all:

    I'm having a problem when you try to use "Show data" option for some physical tables RPD.  Note, when I use "the number of rows updated" is not question and the number of rows is updated correctly.   As I mentioned, the issue happening with little and NOT all tables in physics.

    Error I get is:

    "State SQL NQODBC: HY000 nQSError: 10058 a general error has occurred."  [nQSerror:43113] The message returned by OBIS.  [nqserror:43119] "Query failed: [nQSerror:43093] an error occurred during the processing of the statement Execute physical."

    Appreciate any comment about it.

    Thank you

    Delete the tables on what all you get and import each one separately, it will work.

    Check if helps,

    Thank you

Maybe you are looking for

  • Problems with FF

    I'm having all kinds of issues with FF that according to me, is the result of a java plugin that has been blocked by & now just does not work. So I uninstalled and then reinstalled 3 times, to see that there was still all my old Add ons & still PW is

  • Received a call from the scam making pretend to be Windows technician

    Original title: the license expires Received a call today by a technician from Windows indicating they received the error messages from my computer and that my IP address has been disconnected.  I bought my computer in 2004 and never received any not

  • WRT54GL: Fast cable internet connection; very slow wireless

    I have been chasing a problem for months and I am at the end of my mind. I started with a cable modem Motorola SB5101 and Buffalo bison wrt-hp-g54.  For years, we had a (intermittent) desperately slow wireless connectivity.  Recently I started to run

  • What is the cause of resolution color Vista reset 32-bit?

    In Windows Vista, I set the color resolution (in Control Panel) in the middle of 16-bit (from the highest 32-bit). I have two photo editing programs that only work with 16-bit resolution. Programs probably date from prior to Windows Vista. However, n

  • (Redirected) Dell Data Backup secure Local and recovery application

    My computer is a Dell, running Windows 7, 64-bit operating system. Due to problems with it this year, I had to reinstall Windows from the provided disks, resulting in the removal of the Dell data safe Local backup. Whenever I try to reinstall Dell Da