data in the worksheet sorted using php or spry dynamically

Good evening

I have a spreadsheet columns 5, 10 lines. I want the user to be able to click on one of the topics and then it be sorted in descending order. I do this with php or spry? And can you advise me how it's done, tutorials or site web link thx

PHP is a language server side, so the page would need to be reloaded from the server whenever the user wants to sort the data. The best way is to use JavaScript, that runs in the browser. You can do this with a Spry data set or many other JavaScript solutions. See, for example, http://www.kryogenix.org/code/browser/sorttable/. Just do a Google search for "sort the JavaScript array columns" and you'll find plenty of results.

Tags: Dreamweaver

Similar Questions

  • chart of increment with the new data to the worksheet

    I'm having a little trouble and could use some help if someone has a moment.  My vi is streaming at 2 Hz data acquisition and adding data in a worksheet open.  I would like to be able to view the data from the worksheet in graphic form, but I don't want to redraw all the data points whenever the worksheet is in graphic form.  I have attached the section from vi which is dealing with this issue.  I have included an incrementer in my loop (+ 0.5 each implimentation) to allow time (for (i = 0) that each data point is collected, so my spreadsheet has essentially 2 columns, one for the time (0, 0.5, 1.0, 1.5, etc.) and a second column of data point recorded.  It all works very well.  It's just the graphical representation that gives me.  Assume that the broken wires are not broken in total vi.  Any ideas on that?

    For anyone interested, we solved this problem by attaching a waveform chart to the table converted out of my acquisition of data and define the history of this table to include the necessary length.  It seems that a waveform graph is not enough, and each parcel will not appear unless the table is horizontally (columns instead of rows for each data point).  Thanks to Jeff at home OR for the help on this one.

    Matt

  • How to insert data into the table by using the expression builder in the assign activity

    How to insert data into the table by using the expression builder in affect business in BPEl, I use SOA Suite 11.1.1.5
    Can someone help me please

    Hello

    I don't think that oraext:query-database() can insert data into the table.

    What are your needs?
    Can not you plan to use the DB adapter with the insert operation?

    Kind regards
    Neeraj Sehgal

  • How to save table data to save to PDF using php?

    Hello

    I have a load of data loading into a table of data in mysql table. Since I create a "save data" button to save the data in the table in pdf format. can someone help me how to save it and show me a few steps. Here is my code for the table:

    <?php
      $servername = "localhost";
      $username = "root";
      $password = "pass";
      $dbname = "ses";
       
       
      // Create connection
      $conn = new mysqli($servername, $username, $password, $dbname);
      // Check connection
      if ($conn->connect_error) {
      die("Connection failed: " . $conn->connect_error);
      }
       
      $sql = "SELECT No, Calon, ID, Jurusan, Undi FROM candidates order by Undi desc";
      $result = $conn->query($sql);
      ?>
      <?php
      if ($result->num_rows > 0) {
      echo "<table >
    
      <tr>
      <th>No</th>
      <th>Candidate</th>
      <th>ID Number</th>
      <th>Programme</th>
      <th>Vote</th>
      </tr>";
      // output data of each row
      while($row = $result->fetch_assoc()) {
      echo "<tr>
      <td align='center'>" . $row["No"]. "</td>
      <td>" . $row["Calon"]. "</td>
      <td>" . $row["ID"]. "</td>
      <td>" . $row["Jurusan"]. " </td>
      <td>" . $row["Undi"]. "</td>
    
      </tr>";
      }
    
      echo "</table>";
      } else {
      echo "0 results";
      }
      $conn->close();
      ?>
    

    and here is the HTML for the button:

    can someone help me?

    Thank you

    Look at the script on the FPDF under 'Scripts' site below

    2002-12-25 Olivier Table with MySQL

    First you must download the file of fpdf.php since the site under the downloads"" section.

    Copy the first block of coding 'Source' from the example script and save it under-mysql_table.php

    Next copy the second code block and insert it into a new document in DW, modify the code as shown in red below and save it as pdf_output.php - make sure that the paths to include the mysql_table.php and the (fpdf.php file which is included in the mysql_table.php file) are correct.

    Also change the connection to your database in the code below.

    require('mysql_table.php');

    class PDF extends PDF_MySQL_Table
    {
    function Header()
    {
      //Title
      $this->SetFont('Arial','',18);
      $this->Cell(0,6,'Database Data',0,1,'C');
      $this->Ln(10);
      //Ensure table header is output
      parent::Header();
    }
    }

    //Connect to database
    mysql_connect('server','login','password');
    mysql_select_db('db');

    $pdf=new PDF();
    $pdf->AddPage();
    //First table: put all columns automatically
    $pdf->Table('SELECT No, Calon, ID, Jurusan, Undi FROM candidates order by Undi desc');

    $pdf->Output();
    ?>

    If you have set up properly and navigate to - pdf_output.php - it should produce a pdf of the extracted data in your database.

    A draw back is it uses mysql and mysqli - which is not an immediate problem, as long as you do not mix mysql and mysqli - as this is a stand alone page, it should be ok. (and of course as long as your server still supports the mysql extension)

  • Date of the software and use track

    Hello am in trouble and I'm trying to find a software that can help me to find the time of use and the date of a game I used to play when a roberry took place. Am accused of this crime, but actually I played 'Transformers The Game' on my pc when the roberry took place. Since I have no solid alibi, I need a software that can recover the last time usage and date of this game on my laptop. Help, please.

    Unless you have installed a form any recording software there is probably not much you can get from your machine.  Is there a log specific or historic games with your game?

    You have to connect to a Server Site game to play this game, if so they might have a record of your hours of game?  You play with another person online, if so maybe they can work your story?  Your ISP can provide details on usage?  You should be able to check the use via their Web site.  However, who knows who is actually using the machine?  Have you implemented any logging firewall?

    As the clocks in computers can be hacked with a weight such evidence could be reduced.  In most Western countries the burden of proof would be not the defendant continued.  Maybe you just need a good lawyer.  I wish you well in any action.

  • 10g - objects date in the prompt by using the calendar (date selector)

    Hi, experts,
    at a command prompt, I selected a date (no, datetime, timestamp object).

    and selected "between the" and calendar (not dropdownlist)


    When I select 20110303 (YYYYMMDD) on the date picker and select another date in the date picker.

    After you click GO, the report returns an error message, a date value was expected (received "2011-03-03 00:00:00").

    How to solve it?

    Hello

    I think it's a bug in OBIEE 10.1.3.4x, so ask hotfix for this problem in Oracle.

    Reference: http://obiee911.blogspot.com/2009/12/upgrade-bug-default-date-in-prompt.html

    Thank you
    Oldia...

  • How can I publish the data to the hash table using regulator netui?

    Could someone help me on how to display the data of the hash to netui in the controller.

    There are altogether 18 survey questions (each question will have a list of surveyquestionanwer)
    but I see only 14 issues of the investigation during the validation in the controller and also I see all the answers of the survey instead of the one that is selected on the jsp.

    Here is my sample code.
    setQuestionSurveyAnswers(Set<Entry<String, Collection<SurveyQuestionAnswer>>> surveyAnswers)
    
    Map<String, Collection<SurveyAnswer>> surveyQuestionAnswerList = new HashMap<String, Collection<SurveyAnswer>>();
    
    surveyQuestionAnswerList contains <questionId, List<SurveyQuestionAnswer>>
    
    ---------------------------------------------------------------------------------------------------------------
    <netui-data:repeater dataSource="pageFlow.surveyForm.surveyAnswers">
    <netui-data:repeaterItem>
       <netui:span value="${container.item.key}" />
         <netui:radioButtonGroup dataSource="container.item.key" orientation="horizontal"> // is anything wrong here?
              <netui-data:repeater dataSource="container.item.value">
                   <netui-data:repeaterItem>
                        <netui:radioButtonOption value="${container.item.answerText}">
                             <netui:label value="${container.item.answerText}" />
                        </netui:radioButtonOption>
                   </netui-data:repeaterItem>
              </netui-data:repeater>
         </netui:radioButtonGroup>
    </netui-data:repeaterItem>
    </netui-data:repeater>
    ---------------------------------------------------------------------------------------------------------------
    data structure:
    ---------------------------------------------------------------------------------------------------------------
    questionId  answerId    answerText      surveyQuestionLabel
    ---------------------------------------------------------------------------------------------------------------
    1              1           Yes          Do you want to take the survey?  <SurveyQuestionAnswer>
    1              2           No           Do you want to take the survey?     <SurveyQuestionAnswer>
    2              1           Beginner     Your expertese Level?    <SurveyQuestionAnswer>
    2              2           Expert       Your expertese Level?    <SurveyQuestionAnswer>
    Appreciate your help.
    Thank you

    Hello
    It won't work, you bind the data of the hashmaps key, which does not work (you have a vo as the key)
    I believe that your structure should be something like

    [QuestionAnswer] where QuestionAnswer has the label of the Question as well as a map of string, the string (AnswerId v/s AnswerText) (this may be an implicit method that traverses all objects and creates a map of AnswerId, AnswerText) and a single field of selectedAnswer.

    Your outer loop will make a loop on QuestionAnswer and print the label of the Question and the inner loop will be the RadioButtonGroup, the data source must be the field of selectedAnswer (because you want to fill only) and the optionsDataSource is the AnswerId card, AnswerText

    concerning
    Deepak

  • Some sort of mapping data to the account target using FDM as

    In my chart of accounts, I have a wildcard character is mapped to SGA_ *.

    I want to map the target HFM for imported data account. Is it possible to achieve this FDM in?

    Cannot use Logic Accs Drillback required.

    SGA_12345 > 10000

    SGA_45678 > 10100

    You can use logic accounts for duplicate data sources. Then, you can map the accounts of logic.

    Another option is import scripts to generate additional documents.

    Are you interested in dealing with the two records (original and generated)?

    If you are only interested in the product, then you can simply add a prefix when importing the data.

    Concerning

  • Is there a way to simplify the addition of data in the worksheet when you use a .csv instead of a .xlsx?

    I changed one of the newbies ActiveX toolkits provided by Joe_H to enter a number in a spreadsheet by using the following code 'save to existing Spreadsheet.vi.  However, since it was designed for a .xlsx, it uses an entry for the index of the sheet (that I set to 1 when you use my .csv file).  Currently, the program works, but I was wondering if there is a way to remove the index sheet part.  I tried to just delete, but I could not find how connections for refnums etc. should then work out.  Thanks for any advice, even if it's just to say that nothing major should be done.

    I don't think that there is a much easier way to do what you want then the code you provided.

  • How to find similar data in the worksheet?

    Hello.

    I need to find in my products from worksheet with the same name and find themselves their value on the cell.

    How can I do?

    Greetings

    Barbara

    Hi Barbara,

    What do you mean by "collect their value in cell one (e)?

    Do you mean something like this?

    Summary::B2: = SUMIF (Data::A, A2, Data::B)

    Fill down.

    Kind regards

    Barry

  • Restore the data in the external drive using Time Machine

    Hi y ' All!

    I store my photos in my external hard drive because there is not enough space in memory is internal. This is actually my second drive external hard than my first (Adata HE720) is not the beginning of last year. Unfortunately, my WD Elements has stopped working and I can't restore data using Time Machine, as the drive is not found in Time Machine under devices, and I'm sure that I restored my photo library and many other files from my old external drive using Time Machine.

    Can someone tell me how to recover my old files? I have many other important data here including my photos and I don't want to lose them. I'm fairly positive that Time Machine allows me to get the data as is the point of it.

    Thank you in advance!

    P.S. If you guys have any recommendation on a reliable external drive, please do tell me!

    Hey guys, I found the problem.

    It turns out that I'm never giving time Machine to deselect my external drive to backup; Therefore, there is absolutely no copy done during execution Time machine. I really don't understand why Apple made this the default behavior, but it is what it is.

    So, people, don't forget to go to Time Machine preferences and make sure that you remove the external hard drive that you want to backup under options. Once you do, you can enter the time Machine and your drive will appear under devices.

    See you soon.

  • writing data to the worksheet

    Hi all

    I am trying to extract frequencies to help extract information from your multiple. However, I am facing problem record the frequency, amplitude, and phase in the file. Give me an error (it can't be wired together as their data types (digital, string, array, cluster, etc.) do not match.) View the contextual help window to find out what type of data is required. The type of the source's queue Refnum. The type of the sink is Dynamic Data).

    I have attached the file. Could you please help at this stage.

    Khalid

    In the 2D case of amplitude, frequency and phase table, you should unbudle the cluster by its name and integrate these elements build table functions. For your reference, I did sort of thing in your code. You can see the attachment.

  • I want to recover the data on the hard drive using a laptop as a hard drive.

    Original title: Using a laptop as a hard drive...

    On a MAC, I can plug my laptop into my office with a firewire port to access the hard drive on the laptop without the OS being ran on the laptop.  Windows Vista has such a thing?  If so, how do you go?  The hard drive on my Windows laptop fails and we want to try and recover the data, by hooking it to a desktop as shown above with the MACs.

    Thank you in advance!

    Hello

    "There is no way to access the hard drive when there is no operating system and if the hard drive is connected terribly."

    However, you can remove the hard drive from the laptop and connect it to the office with a case of hard disk that comes with the USB cable.

    Reference:

    Space to grow:
    http://Windows.Microsoft.com/en-us/Windows-Vista/room-to-grow-get-more-space-by-using-external-hard-disk-drives

  • Win7 uses data from the internet without using it

    I have a compaq presario cq57 with windows 7 home premium 64 with MSE chrome up to date Malware bytes updated

    When open chrome by using internet data without using it, I don't know why.

    If someone suffers the same?

    Thank you

    Peter.

    It did not work

    but I fixed it

    I changed to avg internet security

  • Failed to load data from the staging area using the map of ERP SAP ABAP

    Hello

    I am new to ODI and some challenges. ODI 11g (11.1.1.6.0) I want to move data from a SAP EHP6 system to a warehouse of the oracle. I got the table that I need, using the SAP reverse engineering metadata browser. I then created the interface and on executing this operation fails on task/Session 13 - Loding - Srcset0 - load data into a staging. I use a shared directory. I put FTP_TRANSFER_METHOD = FSMOUNT_DIRECT. I get the error message is

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
    to com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
    to oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
    to oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
    to com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
    to com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
    to com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
    to oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
    to oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    to java.lang.Thread.run(Thread.java:744)
    Caused by: Traceback (most recent call changed):
    File '< string >", line 14, in < module >
    Load error: see /home/dwsap/ZODI_13001_11001_GLOBAL.log for more details

    to org.python.core.PyException.doRaise(PyException.java:219)
    to org.python.core.Py.makeException(Py.java:1166)
    to org.python.core.Py.makeException(Py.java:1170)
    to org.python.pycode._pyx0.f$ 0 (< string >: 50)

    to org.python.pycode._pyx0.call_function (< string >)
    to org.python.core.PyTableCode.call(PyTableCode.java:165)
    to org.python.core.PyCode.call(PyCode.java:18)
    to org.python.core.Py.runCode(Py.java:1204)
    to org.python.core.Py.exec(Py.java:1248)
    to org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
    to org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
         ... 19 more


    I checked the log file and it contains the following


    $ ZODI_13001_11001_GLOBAL.log more

    SQL * Loader: release 11.2.0.4.0 - Production on Thu Mar 27 11:19:17 2014

    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

    SQL * Loader-704: Internal error: ulconnect: OCIServerAttach [0]
    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    I checked my tnsnames.ora and it seems to be OK


    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.

    XXXXXX =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxxx) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = xxxxxx)
    (SID = xxxxxx)
    (GLOBAL_NAME = xxxxxx)
    )
    )


    Here's my listener.ora


    listener.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx) (PORT = 1521))
    )
    )
    ADR_BASE_LISTENER = / u01/app/oracle



    What could be the problem?

    Concerning

    Thanks a lot for your help. The problem is that I had put in the incorrect name of the instance.

Maybe you are looking for

  • Keyboard types wrong characters and bizarre on Tecra A2

    I got with my Tecra A2 keyboard; When I hit the 'e' key I get this: 22:06 07/27/2007; When I hit the key 'a' I get 1za 1za 1za. When I type 'z' I get 1za 1ZA 1za and so on. some keys are fine and I got the right letter. I already checked the regional

  • Safari locked Zeus virus

    Should I be worried? Today, while trying to go to the Gmail site this (see photo) came on the screen and I had to do a closed hard. The message says windows detected that? Is the Zeus on the Mac virus. Older (about 5-6 years) iMac, running OSX 10.7.5

  • How to install Winrar version on my computer for free?

    How do I instal winrar version on my computer of 32/64 bit free > I bought a program and after I instatelled it is came The Microsoft.Jet.OLEDB.4.0 provider is not registered on the local computer. original title: HOW can I INSTALL WINRAR VERSION IN

  • Reinstallation of HP Photosmart e-All-IN-one series D110

    My operating system is Windows 8 (64 bit) I had to unstall my HP Photosmart e-all-in-one series D110 printer. I had problems with it a few times where I received a message that it was installed properly and put on the CD to complete the installation.

  • «Can't find script engine «VBScript.Encode "»

    Try to install a file .vbe but this error keeps popping up, is not the file because it has a high success rate. Please help and thanks in advance.