2nd footer row

2nd footer row

vektor17vektor17 Posts: 5Questions: 0Answers: 0
edited August 2013 in General
Hello

I have tried to use footer callback example: http://www.datatables.net/examples/advanced_init/footer_callback.html
It works fine now.
Is it possible to insert a 2nd and 3rd footer row?

I have tried to insert it but it didn't work.
[code]
for ( var s=2; s

Replies

  • vektor17vektor17 Posts: 5Questions: 0Answers: 0
    I i insert a id to each cell and access it with "getElementsByID" it works only the first access. If i sort the table or change it with the search form, i can't access the cell with "getElementsByID". Nothing is changeing and no error. (Checked with Firebug)
    Can anybody give me a tip?
    Thank you.
  • vektor17vektor17 Posts: 5Questions: 0Answers: 0
    This is the test code:
    http://live.datatables.net/owaqeb/5/edit#source
  • vektor17vektor17 Posts: 5Questions: 0Answers: 0
    Can nobody help me?
  • vektor17vektor17 Posts: 5Questions: 0Answers: 0
    Hello once more:

    Footer callback returns a "TR" element for the footer
    (http://datatables.net/usage/callbacks)
    Parameter: fnFooterCallback
    Type: function
    Inputs:

    {node}: "TR" element for the footer
    {array}: Full table data (as derived from the original HTML)
    {int}: Index for the current display starting point in the display array
    {int}: Index for the current display ending point in the display array
    {array int}: Index array to translate the visual position to the full data array

    ---------
    Did it return only 1st. TR element? What is if i have 2 or more?
This discussion has been closed.