sscrolly is not working in IOS

sscrolly is not working in IOS

cor9003cor9003 Posts: 4Questions: 0Answers: 0
edited February 2014 in General
hello, I'm using the sscrolly and it is not working with ios 7 in Iphone5. I'm usuing phonegap. For Android is working properly. Tested with datatables 1.9.4

can you help me ?

Replies

  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin
    Its not working here: http://datatables.net/release-datatables/examples/basic_init/scroll_y.html ? It seems to work okay for me.

    Allan
  • cor9003cor9003 Posts: 4Questions: 0Answers: 0
    Hello Allan, in this code, the datatable is working properly all except the sscrolly that doesn´t show any vertical scrooll.
    I'm using phonegap to build the app.

    oTable_pendientes = $('#tabla_practicas_pendientes').dataTable({

    "sAjaxSource": "http://xxxxxxxxxxxxxxxxxxxxxxx",
    "sScrollY": "300px",
    "bPaginate": false,
    "bLengthChange": false,
    "bFilter": false,
    "bScrollCollapse": false,
    "aoColumns": [
    { "sTitle": "Fecha P." },
    { "sTitle": "H. Inicio" },
    { "sTitle": "H. Fin" },
    { "sTitle": "Coche" }
    ],
    "oLanguage": {
    "oPaginate": {
    "sNext": "Siguiente",
    "sFirst": "Primera",
    "sLast": "Ultima",
    "sPrevious": "Anterior"
    },
    "sEmptyTable": "No hay datos disponibles",
    "sInfo": "(_START_ to _END_) de _TOTAL_ "
    }
    });
  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin
    Does my example work for you?

    Also we would need a link to a test case showing the issue to be of any help.

    Allan
  • cor9003cor9003 Posts: 4Questions: 0Answers: 0
    Yes, your example works with a browser like Firezilla, etc. The problem is when I send this code to Android or Apple device.

    If you want I can send you the apk file to be installed in an Android device where you can see that vertical scroll doesn´t appears, but If I run the same code in a browser from one PC it works.
  • allanallan Posts: 63,175Questions: 1Answers: 10,409 Site admin
    edited February 2014
    So when you load that page on Android and iOS phones, in the web-browser - it works okay?

    But if you push it through PhoneGap, it doesn't? Doesn't sound like a DataTables bug to me... :-). You might want to ping PhoneGap about it, but I don't see that I can do much to help.

    Allan
  • cor9003cor9003 Posts: 4Questions: 0Answers: 0
    You are right Allan, I think I have to ping first to Phonegap. Thanks for the support.
This discussion has been closed.