JQuery UI 1.8 Themes

JQuery UI 1.8 Themes

CJCJ Posts: 1Questions: 0Answers: 0
edited February 2010 in General
Has this been tested with the jquery-ui 1.8 themes? I'm getting some odd look and feel, but I'm not sure if that is because of something I've done incorrectly, or if it isn't quite compatible with the 1.8 themes. If anyone has tried this, I'd love to hear about your experiences.

Replies

  • evuignerevuigner Posts: 4Questions: 0Answers: 0
    I'm using DataTables with jQuery UI 1.8 nicely, no problem in my case.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    edited February 2010
    It's not something I've tested myself, but DataTables doesn't really use anything too special in jQuery UI's CSS files. Just the generic stuff, that I would have thought would break a lot of sites if they changed it! Can you post a link showing your example which doesn't work please? Also jQuery UI 1.8 is only alpha 1 at the moment (from the looks of things) so it's possible things will change as they stabilise.

    Regards,
    Allan
  • LoboLobo Posts: 9Questions: 0Answers: 0
    edited April 2010
    I tried DataTables 1.6.2 with jQuery UI 1.8 and jQuery 1.4.2.
    With the code below, I noticed that sorting by clic on the table header don't work.

    [code] /* Table : initialisation*/
    oTable = $('#ListeDesClients').dataTable({
    "bProcessing": true,
    "bServerSide": true,
    "sAjaxSource": "ajax/processMesClientsListe.php",
    "fnServerData": function ( sSource, aoData, fnCallback ) {

    $.ajax( {
    "dataType": 'json',
    "type": "POST",
    "url": sSource,
    "data": aoData,
    "success": fnCallback
    } );
    },
    "bStateSave": false,
    "bJQueryUI": true,
    "bAutoWidth": false,
    "sPaginationType": "full_numbers",
    "oLanguage": {"sUrl": "css/dataTables-1.6.2/fr_FR.txt"},
    "aoColumns": [
    /* ID Personne */ { "bSearchable": false,"bVisible": false },
    /* NPAI */ { "bSearchable": false,
    "fnRender": function(obj) {
    var sReturn = obj.aData[ obj.iDataColumn ];
    if ( sReturn == "1" ) {
    sReturn="";
    }else
    {
    sReturn="";
    };
    return sReturn;
    }
    },
    /* Civilite */ { "bSearchable": false},
    /* Prenom */ null,
    /* Nom */ null,
    /* Adresse */ null,
    /* Code Postal */ null,
    /* Ville */ null,
    /* Pays */ null,
    /* T
  • LoboLobo Posts: 9Questions: 0Answers: 0
    Look for the solution in http://datatables.net/forums/comments.php?DiscussionID=1816.
    Only a json format problem caused by addslashes(php) on process server side.
    thx.
This discussion has been closed.