Conditionally Enable scorlling in Datatable 1.9

Conditionally Enable scorlling in Datatable 1.9

rajarajananisrajarajananis Posts: 29Questions: 0Answers: 0
edited August 2013 in DataTables 1.9
Hi all,

Could you please tell me how to conditionally enable/disable scrolling (Horizontal) in the Data Table 1.9.0?

if the number of columns exceeds the limit then I need to show the table with horizontal scroll bar or else scrolling should not be enabled..

!!Please help me!!

Raja.S
Bangalore

Replies

  • rajarajananisrajarajananis Posts: 29Questions: 0Answers: 0
    FYI

    Now the scroll bar is always enabled.
  • rajarajananisrajarajananis Posts: 29Questions: 0Answers: 0
    Allan,

    Any updates please...
  • rajarajananisrajarajananis Posts: 29Questions: 0Answers: 0
    Allan, I just used the below lines..But, no results. Is that OK ?

    searchTable.fnSettings().oScroll.sX = "100%";
    searchTable.fnSettings().oScroll.sXInner = "110%";
    searchTable.fnSettings().oScroll.bCollapse = true;

    Please help me
This discussion has been closed.