Re:  Integrate jQuery Grid / inGrid /Flexigrid functionality within APEX

Hi All,
Can anyone let me know to integrate jQuery Grid / inGrid /Flexigrid functionality within APEX?
I have had little searched on jQuery Grid on Google but most of examples are for PHP & ASP.Net.
Anyone help would be great to me.
Thanks in advance.
Regards!!
Dip, Canada
Edited by: user8609115 on 12-Feb-2010 7:56 AM

Hi All,
Can anyone let me know to integrate jQuery Grid / inGrid /Flexigrid functionality within APEX?
I have had little searched on jQuery Grid on Google but most of examples are for PHP & ASP.Net.
Anyone help would be great to me.
Thanks in advance.
Regards!!
Dip, Canada
Edited by: user8609115 on 12-Feb-2010 7:56 AM

Similar Messages

  • JQuery GRID JSON data

    I have following code to use JQuery GRID.
    I tried to use XML data first, using DataXML.cfm which works.
    After that, I tried to use JSON using following code which is the same I just change datatype to json.
    I use url to test my cfm file which returns data.
    Can any one help me or suggestion to see where I can look the following javaScripts or cfm file for JQuery GRID to find a solution,
    Your help and information is great appreciated,
    Iccsi,
    following is cfc file
    <cffunction name="getLoc" access="remote" returntype="any" returnformat="json">
    <cfquery name="qryLoc" datasource="Mysource">
    SELECT invid, invdate, amount, tax, total, note  FROM invheader
    </cfquery>
    <cfoutput>
    <cfset i = 1>
    <cfset data = ArrayNew(1)>
    <cfloop query="qryLoc">
    <cfset row = StructNew()>
    <cfset row["invid"] = "#qryLoc.invid#">
    <cfset row["invdate"] = "#qryLoc.invdate#">
    <cfset row["amount"] = "#qryLoc.amount#">
    <cfset row["tax"] = "#qryLoc.tax#">
    <cfset row["total"] = "#qryLoc.total#">
    <cfset row["note"] = "#qryLoc.note#">
    <cfset data[i]  = row>
    <cfset i = i + 1>
    </cfloop>
    <cfreturn #serializeJSON(data)#>
    </cfoutput>
    </cffunction>
    following  is jGrid.cfm
    $(function () {
        $("#list").jqGrid({
            url: 'http://127.0.0.1/test/Example.cfc?method=getLoc',
            datatype: 'json',
            colNames: ['Tax', 'Inv No', 'Date', 'Notes', 'Total', 'Amount' ],
            colModel: [
                { name: 'tax', width: 80, align: 'right' },
                { name: 'invid', width: 55 },
                { name: 'invdate', width: 90 },
                { name: 'note', width: 150, sortable: false },
                { name: 'total', width: 80, align: 'right' },
                { name: 'amount', width: 80, align: 'right' }
            pager: '#pager',
            rowNum: 10,
            rowList: [10, 20, 30],
            sortname: 'invid',
            sortorder: 'desc',
            viewrecords: true,
            gridview: true,
            autoencode: true,
            caption: 'My first grid'
    </script>
    </head>
    <body>
    <table id="list"><tr><td></td></tr></table>
        <div id="pager"></div>
    </body>
    </html>
    XMLData.cfm is following data
    <cfcontent type="text/xml;charset=utf-8" />
    <rows>
       <page>1</page>
       <total>1</total>
       <records>1</records>
       <row id='1'>
           <cell>1</cell>
           <cell>07/26/2013</cell>
           <cell><![CDATA[Client 1]]></cell>
           <cell>700</cell>
           <cell>140</cell>
           <cell>840</cell>
           <cell><![CDATA[Nice work!]]></cell>
       </row>
    </rows>
    my cfc file returns following data
    [{"tax":10.00,"invid":1,"invdate":"July, 24 2013 00:00:00","note":"Test","total":10.00,"amount":10.00},{"tax":50.00,"invid":2,"invdate":"J uly, 03 2013 00:00:00","note":"test","total":100.00,"amount":20.00},{"tax":50.00,"invid":3,"invdate":" July, 15 2013 00:00:00","note":"test","total":100.00,"amount":20.00}]

    Did you look at the example in the jqGrid Demos page? The answer is there.
    Open http://trirand.com/blog/jqgrid/jqgrid.html
    Open Chrome Developer Tools
    See what is the URL when you click the next page button on the grid?
    http://trirand.com/blog/jqgrid/server.php?q=1&_search=false&nd=1374957231342&rows=10&page= 2&sidx=id&sord=desc
    If you click the previous page:
    http://trirand.com/blog/jqgrid/server.php?q=1&_search=false&nd=1374957248411&rows=10&page= 1&sidx=id&sord=desc
    As you can see the page value in the query string change from 2 to 1.
    Then, see the PHP code. The page variable is use to retrieve data.
    That means if you give a number of rows, the grid does not calculate page number automatically. You should do the calculation from the CFC.

  • BRF+ Deleting functions within object nodes

    Hi Experts,
    We are a large FMCG company and are implementing SAP Master Data Governance module for managing our material master data.
    Hence, we have chosen BRF+ as the business rule engine to drive SAP MDG. SAP MDG version is EHP5
    To create a ruleset, I initially create an object node within the 'Trigger tab' in the catalog. This object node is created with a naming convention DERIVE_ENTITY_ATTRIBUTE. I have then successfully created a function within the object and defined a ruleset as well.
    Now if I delete the object node; it gets deleted from the trigger function tab. However if I create a new object node with a similar function, the system does not allow me to create the function as it throws a warning message stating that the function still exists.
    Hence I wanted to know HOW DO I DELETE THE FUNCTION if the Object node for that function has already been deleted?
    Is there any option to search the function and delete it?
    Thanks in advance
    Edited by: Reenav on Nov 29, 2011 12:29 PM

    Hi Carsten,
    Where do you actually restore an object though?  I don't see a button on the UI. 
    I have deleted an object by mistake, but since I don't have versioning turned on I cannot do a version restore.  However I can still see the deleted object since it's only logically deleted?
    If you do not have versioning turned on is it then impossible to restore?
    Thanks,
    Lee

  • Return value from function within package

    Hi,
    There is a function within a pl/sql package that I am trying to get data from. The problem is that the data returned can be up to 32,767 chars (varchar2 limit).
    It accepts 3 input parameters and returns on varchar2.
    The only way I can get it to work is using this syntax:
    ==================================
    variable hold varchar2(4000);
    call TrigCodeGenerator.GenerateCode(VALUE1', 'VALUE2','VALUE3') into :hold;
    print hold;
    =====================================
    However, if the data returned is greater than 4000 then I get this error:
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 1
    I can't increase the size of the variable (hold) as there seems to be a limitation on this type of variable.
    Also, I am running this in sql plus worksheet. Will it limit the display of the data (assuming, that someone can get the whole 32,767 chars displayed back) ?
    Thanks in advance,
    Ned

    Never mind,
    I declared the variable hold as clob and set the long and longchunksize parameters to 100,000 and it seems to work.

  • Function within package error

    Hi friends,
    I have a package called xxhw_ams_utils with a function in it get_salary
    When i tried to execute that function within the package like the below manner means, im getting error like
    ORA-00904: "XXHW_AMS_UTILS"."GET_SALARY": invalid identifier
    select apps.xxhw_ams_utils.get_salary(1072) from dualwhere 1072 is the assignment id that im passing for testing purpose.
    This is the actually the get_salary function which is inside the package xxhw_ams_utils coding
    FUNCTION get_salary
    (p_asg_id IN NUMBER)
        RETURN VARCHAR2 IS
    l_gross VARCHAR2(20);
    l_basic VARCHAR2(20);
    BEGIN
    select eev.screen_entry_value
    into l_basic
           from   pay_element_entry_values_f eev,
                  per_pay_bases              ppb,
                  pay_element_entries_f       pe
           where  ppb.pay_basis_id  +0 = 61
           and    pe.assignment_id     = 1072
           and    eev.input_value_id   = ppb.input_value_id
           and    eev.element_entry_id = pe.element_entry_id
           and    sysdate between
                            eev.effective_start_date and eev.effective_end_date
           and    sysdate between
                            pe.effective_start_date and pe.effective_end_date;
    EXCEPTION
    WHEN OTHERS THEN RAISE;
    END; Suppose if i executed like the below manner means, i getting the correct result
    select eev.screen_entry_value
    --into l_basic
           from   pay_element_entry_values_f eev,
                  per_pay_bases              ppb,
                  pay_element_entries_f       pe
           where  ppb.pay_basis_id  +0 = 61
           and    pe.assignment_id     = 1072------------------------------------>assignment id (that im passing)
           and    eev.input_value_id   = ppb.input_value_id
           and    eev.element_entry_id = pe.element_entry_id
           and    sysdate between
                            eev.effective_start_date and eev.effective_end_date
           and    sysdate between
                            pe.effective_start_date and pe.effective_end_date;Suppose if i execute like the below means it is returning error like invalid character.
    select apps.xxhw_ams_utils.get_salary(1072) from dualWhy might be the problem friends.
    Brgds,
    Mini

    Hi Giri,
    Thanks yes i didnt mentioned that function get_salary in the package specification and now the package is compiled successfully,
    But when i tried to execute i get the error like
    ORA-06503: PL/SQL: Function returned without value
    ORA-06512: at "APPS.XXHW_AMS_UTILS", line 177when i execute like
    select apps.xxhw_ams_utils.get_salary(1072) from dualBrgds,
    Mini

  • Adding "Filter Criteria" to the XSLT List View Web Part impact on "Export to Excel" functionality within Document Library

    Hi there,
    XSLT List View displaying all the list items within the Document Library. In order to implement the Search functionality within Document library out of box "Text Filter" web part is configured as explained below. The solution is similar to
    the one suggested at
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=77
    "Text Filter" Web Part added to the page.
    Filter Criteria (i.e., XSLT List View columns) added to the XSLT List View where the filter parameters take the input from the "Text Filter" Web Part .
      3. Both Web Parts (XSLT List View and the Text Filter) are connected.
    When the search criteria is entered into the "Text Filter" Web Part, it is passed to the relevant Columns of the XSLT List View and the documents (List Items) that match the search criteria are shown within XSLT List View.
    Search functionality working as expected.
    Query: Selecting the "Export to Excel" icon from the ribbon generates the excel spread sheet with no data except Column Titles from the Document library. In the investigation it is
    found that adding the 'Filter Criteria' on XSLT List View is causing this bug. When the Filter Criteria is removed, then "Export to Excel" functionality is working as expected.
    But it is mandatory to add "Filter Criteria" to implement the search functionality with in the document library.
    Help: Help/input appreciated on the work around to get the "Export to Excel" functionality work when the "Filter Criteria"
    exist on the XSLT List View.
    Regards,

    Once again thanks very much for your help Scott. very much appreciated.
    In the investigation it is found that removing the 'Filter Criteria' on XSLT List View makes the "Export to Excel" functionality work. But the 'Filter Criteria' is mandatory to get the 'Document Search' functionality.
    I think that due to technical limitations it should be concluded that 'only custom development can make all work, no code solutions using the SharePoint Designer can meet all the requirements.
    If you can think of any alternative solution that could help in resolving the current issue or fix the issue without any custom implementation please inform. Otherwise this issue would be marked as resolved with your suggested response.
    Regards,

  • Can we call a function within a function??????Urgent

    Dear All,
    Like we can call a procedure from another procedure , in the same way can we call a function within a function. Please reply it's urgent.
    Regards

    > Please reply it's urgent.
    My usual soapbox response.
    Saying your posting is urgent is rude and arrogant. Why? Because you are saying that other people who have posted problems here, have less important problems than yours. That despite how complex and critical their problem may be, yours take priority.
    You're also demaning attention and a quick answer from people that provide support here - in their free time... and not getting paid a single cent for their efforts.
    So just how can you demand any urgency to your posting from them?
    Remember that this is a public forum. You cannot demand anything here. This is not Oracle Support. There are no SLA's here. Basic nettiquette applies.

  • I'm new to Ipad 2.  I can bring up a website, but I can't make it active; i.e., log onto it and perform any functions within in.  Help!!

    I'm new to Ipad 2.  I can bring up a website, but I can't make it active; i.e., perform any functions within the website.  I cannot make the screen move -- nothing.  Help!!

    Can you navigate http://www.apple.com ?
    Without knowing your credit union's web site it is hard to tell what the problem is.
    Note that sites that use Flash will have problems as it is not supported.

  • Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers and firefox

    Drag and drop not working.  When trying to move a cell or icon the shadow of the cell or icon being moved appears under the cursor but can't be released causing a freeze of function within the program.  Happens in finder numbers, firefox, and when trying to move any file from the downloads folder.
    This is a serious pain.
    Please help.
    WB

    Yes, all I can tell you is that Finder does not have that function in ML. Your system is "working as expected".
    You can file feedback here.

  • How to define function within for loop pls help?????

    Hi this is the problem i have a class, and within that class there is an actionPerformed function, in this class i also create an instance of another class, this other class also contains an actionPerformed function, which wis executed if a jButton has been pressed, when I try to place this actionPerfromed function within a for loop of a function i get an error saying illegal start of experssion, and that the class should be defined abstract as it does not define actionPerformed, when i take it out of the for loop it compliles fine, i need the function to be placed within the for loop because it needs to know the variable of the for loop, is there anyway around this? Thanks, below is the code:
    public class DisplayTransitions extends JFrame implements ActionListener
    public void add()
    for(int i = 0; i < char2.size(); i ++)
    mPanel.add(tim[i] = new JButton("Time"));
    tim.addActionListener(this);
    public void actionPerformed(ActionEvent ae)
         if (ae.getSource() == tim[i])
              timeIncr();

    This is your for loop using an anonymous inner class for the listener:
                for (int i = 0; i < char2.size(); i++) {
                    mPanel.add(tim[i] = new JButton("Time"));
                    tim.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    if (ae.getSource() == tim[i]) {
    timeIncr();
    Learn more about anonymous inner classes from a good Java book or the Java tutorial (try http://java.sun.com/docs/books/tutorial/java/javaOO/QandE/nested-answers.html).

  • Redirecting to a function within a DLL

    In the online Help file I created, I have a custom button
    that links to an external web page and opens in a separate Browser.
    I've currently got a redirect.htm file that triggers this action.
    Instead, I'd like to link to a function within a DLL file.
    This function opens a dialog box that displays our knowledge base.
    I can't link directly to the knowledge base because product mgmt
    doesn't want the address to display in the browser.
    Does anyone have any ideas how to do this?
    Thanks so much for your help. Everyone who has replied to my
    past queries has been a great help!

    I should say first of all that I am not a programmer so I
    quantify what follows with a large pinch of salt. However what you
    are trying to achieve is similar to using a context sensitive help
    call. The only difference is that it is coming from the application
    rather than a user. So I'm wondering whether you could set-up a
    context sensitive help call within the DLL using a mapid?
    Amm willing for others to pipe in and tell me I'm way off the
    radar.

  • File upload from form using cf8 file functions within cfscript?

    essentially, i'm wondering if anyone can give me an example
    of a way to replicate cffile upload using cf8's native file
    manipulation functions within a cfscript tag?
    more specifically, i am wondering if anyone had any code
    examples for uploading a file specified by a user on an html form
    using cf8's file functions (fileOpen, fileCopy, fileDelete,
    fileMove, fileClose, etc....) within a cfscript tag. i've done this
    a number of times in the past using upload through cffile, but i'd
    like to take advantage of cf8's new native file functions and be
    able to deploy the code within a cfscript block.
    i've found some simple examples of the file functions within
    the docs and online, but nothing showing me how to take a file from
    an html form and upload it where i want it, as cffile will do.
    thanks in advance for any help.

    those cf8 file functions are for manipulating files on the
    server.
    you still need to upload the file in one way or another.
    as for replicating cffile action=upload in cfscript: just
    write a
    function that uses cffile tag to upload a file, and call that
    function
    from your cfscript!
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • Need Help: Using Ref Cursor in ProC to call a function within a Package

    I'm calling a function within a package that is returning a REF CURSOR.
    As per the Oracle Pro*C Programmer's Guide, I did the following:
    1) declared my cursor with a: EXEC SQL BEGIN DECLARE SECTION and declared the cursor as: SQL_CURSOR my_cursor;
    2) I allocated the cursor as: EXEC SQL ALLOCATE :my_cursor;
    3) Via a EXEC SQL.....END-EXEC begin block
    I called the package function and assign the return value to my cursor
    e.g. my_cursor := package.function(:host1, :host2);
    Now, the only difference between my code and the example given in the Pro*C Programmer's Guide is that the example calls a PROCEDURE within a package that passes back the REF CURSOR as an OUT host variable.
    Whereas, since I am calling a function, the function ASSIGNS the return REF CURSOR in the return value.
    If I say my_cursor := package.function(:host1, :host2); I get a message stating, "PLS-00201: identifier MY_CURSOR" must be declared"
    If I say :my_cursor := package.function(:host1, :host2); I get a message stating, "ORA-01480: trailing null missing from STR bind value"
    I just want to call a package function and assign the return value to a REF CURSOR variable. There must be a way of doing this. I can do this easily in standard PL/SQL. How can this be done in Pro*C ???
    Thanks for any help.

    Folks, I figured it out. For those who may face this problem in the future you may want to take note for future reference.
    Oracle does not allow you to assign the return value of a REF CURSOR from a FUNCTION ( not Procedure - - there is a difference) directly to a host variable. This is the case even if that host variable is declared a CURSOR variable.
    The trick is as follows: Declare the REF CURSOR within the PL/SQL BEGIN Block, using the TYPE statement, that will contain the call to the package function. On the call, you then assign the return REF CURSOR value that the function is returning to your REF CURSOR variable declared in the DECLARE section of the EXEC SQL .... END-EXEC PL/SQL Block.
    THEN, assign the REF CURSOR variable that was populated from the function call to your HOST cursor varaible. Then fetch this HOST Cursor variable into your Host record structure variable. Then you can deference individual fields as need be within your C or C++ code.
    I hope this will help someone facing a deadline crunch. Happy computing !

  • How do I view a FUNCTION within a Package Body

    I can see the FUNCTION being executed within the Package...
    FUNCTION Stop_Refresh_AsBilled
    RETURN Number;
    And within Oracle SQL Developer and using the Connection and "Packages" part of the Schema, I see the Function Name. However, when I <Double-Click> on the FUNCTION Name within the Schema, it is taking me to where the FUNCTION is executed within the Package and NOT to the PL/SQL Code that actually makes up the FUNCTION.
    Am I missing something here??? Maybe in my Preferences??? How can I drill down further to actually find the FUNCTION Definition and PL/SQL Code that makes up the FUNCTION within the Package Body???
    I can bring up the Package Body and Search on the FUNCTION that way. I'm hoping there is an easier way however to drill down to the actual PL/SQL Code that makes up the FUNCTION.
    I hope I am being clear in my explanation here.
    Thanks for your review and I am hopeful for a reply.
    PSULionRP

    Jim, opening the body node to see all functions and procedures sometimes does not work in 3.0
    I have many packages generated by Feuerstien's CodeGen utility. The Query package appears just fine with every function and procedure appearing as expected in both header and body nodes. However, the Change Package fails miserably. Header shows all functions and procedures fine, but the body node only shows the top private declarations of variables and types. Not one function or procedure appears in the expanded node.
    The only thing I can figure is that the Change package of about 30 named items has many of the same name+ with overloaded parameters. I think SQL Dev is having problems parsing the names in the body even though it does fine with the names in the header of the package--perhaps because of many private variables and PRAGMA's declared at the top of the body.
    Both packages have about 30 functions, but the Change package body has over 2000 lines while the Query package has fewer than 500.
    Just adding to the mystery--but I think it merits a bug report (gotta figure out where to report it now).

  • How do i call a function within the jsp?

    Hi,
    What i am doing is now allow a user to type in comment and when the user click on "Add" button, it will call my function and write to a txt file.How can i call a custom jsp function within my jsp page or what is the correct way to do this?
    [My current codes]
    <form name="SubmitEvent" method="post" action="addComment()">
    </form>
    function addComment()
    System.out.println("Entered Add Comment function");
    Thanks for your help!

    You can define a Java Bean (I presume you know the rules to write a Java Bean) and send the read value as parameter to the Bean and then call a function in the Bean from the JSP.
    Contact me if you need more help!

Maybe you are looking for

  • Firefox cannot open pdf

    I have a problem opening pdfs from certain websites. This problem occured when I upgraded to Firefox 4.0. I usually opened pdf-files from Firefox in the adobe reader directly (not using the plugin). Now this does not work any more. When having set, t

  • Node Manager unable to start managed Server. SSL Handshake problem

    I am getting the following Error: weblogic.nodemanager.NodeManagerException: [Could not execute command start for server wecarebeadev via the Node Manager - reason: [CommandInvoker: Failed to send command: 'online to server 'wecarebeadev' to NodeMana

  • Interpreting table SWPSTEPLOG

    Would like to know how to interpret table SWPSTEPLOG; I have some workflows that are not going past a multiple branch step. In a wait for event step, I pass a parameter back with the event. Occasionally, the parameter is not filled with a value (SAP

  • DVD Player keeps crashing in OSX Maverick. Any solutions?

    DVD Player keeps crashing in OSX Maverick. Any solutions?

  • Question for NABers or AE folks re: Motion 3's 3D

    Hi all, This question can probably be answered by those who saw Motion 3 at NAB or people who are familiar with other apps with 3D capability, but since I'm not one of them... Most of the examples in Apple's web videos (other than possibly particle e