Please help Meee!

Please help Meee!

MarceloMarcelo Posts: 3Questions: 0Answers: 0
edited August 2012 in General
I need to build an table with AJAX (JSON) Source, and I have 2 problems:
1) How Do I make the Table Refresh and Update the content with AJAX Source?
2) How do I validate/format the data ?

I really need this guys, so anything helps!
Thanks!

Replies

  • MarceloMarcelo Posts: 3Questions: 0Answers: 0
    This is my Code for the table:
    [code]$('#tabela_X').dataTable({
    "bScrollCollapse": false,
    "bAutoWidth": true,
    "sAjaxSource": URL,
    "sServerMethod": "POST",
    "sAjaxDataProp": "callBack",
    "bJQueryUI": true,
    "sScrollY": "200px",
    "bScrollCollapse": false,
    "bAutoWidth": true,
    "oLanguage": {
    "sProcessing": "Aguarde, Carregando...",
    "sLengthMenu": "Mostrar _MENU_ Registros por Página",
    "sZeroRecords": "Nenhum Registro Encontrado!",
    "sInfo": "Mostrando de _START_ até _END_ de _TOTAL_ Registros ",
    "sInfoEmpty": "Nenhum Registro Encontrado",
    "sInfoFiltered": "( Filtrado de _MAX_ Registros )",
    "sSearch": "Pesquisar",
    "oPaginate": {
    "sFirst": "Primeira",
    "sPrevious": "Anterior",
    "sNext": "Próxima",
    "sLast": "Última"
    }

    }
    });[/code]
  • MarceloMarcelo Posts: 3Questions: 0Answers: 0
    No one?

    It's something like this That I need - But I try this examples and Did'nt work:

    http://datatables.net/forums/discussion/858/fnreloadajax/p1
    http://datatables.net/forums/discussion/6617/trying-to-use-fnreloadajax-to-automatically-refresh-the-table/p1
This discussion has been closed.