I do not understand the introductory procedure of plug-in.

I do not understand the introductory procedure of plug-in.

teruteru Posts: 5Questions: 0Answers: 0
edited October 2012 in Plug-ins
As for me, English and a personal computer are a beginner.
I would like to use FixedColumns.
However, although I read the forum, I was not able to understand.
How to use plug-in ,Initialization, Initial code ?
Someone should explain procedures one by one.

Replies

  • allanallan Posts: 63,394Questions: 1Answers: 10,450 Site admin
    1. Include FixedColumns.js
    2. Initialise FixedColumns: `new FixedColumns( oTable );` .

    http://datatables.net/release-datatables/extras/FixedColumns/index.html
  • teruteru Posts: 5Questions: 0Answers: 0
    I am sorry.
    Although "FixedColumns example - basic initialisation" was read repeatedly, I was not able to understand.
    Although the related part was also read, I was not able to understand.
    " "sScrollY": "300px","sScrollX": "100%","sScrollXInner": "150%","bScrollCollapse": true,"bPaginate": false "has been performed.
    What should I just do concretely for carrying out "new FixedColumns( oTable );"?
  • allanallan Posts: 63,394Questions: 1Answers: 10,450 Site admin
    [code]
    var oTable = $('#example').dataTable( { // Initialise DataTables
    "sScrollX": "100%", // Enable sScrolling
    "sScrollXInner": "150%", // Force x-scrolling to occur (I would suggest you will want to remove this)
    "bScrollCollapse": true // Shrink the table height to match the number of records
    } );
    new FixedColumns( oTable ); // Initialise FixedColumns
    [/code]

    Perhaps you can link to what you currently have?

    Allan
  • teruteru Posts: 5Questions: 0Answers: 0
    Is it URL of the site which is using the table?
  • allanallan Posts: 63,394Questions: 1Answers: 10,450 Site admin
    Sorry I don't quite understand - is what the URL of what site?
  • teruteru Posts: 5Questions: 0Answers: 0
    What should be linked?
    Where should it link?
    I am sorry truly for an amateur.
    But I am very glad if "FixedColumn" can be used.
This discussion has been closed.