Bootstrap datatable fixed column

Does anyone have fixed columns working with the datatable?
Referring to the Appstudio sample, i changed the updateTable() to have…

DataTable1.settings.columns = columns1
DataTable1.settings.scrollY = “600px”
DataTable1.settings.scrollX = True
DataTable1.settings.scrollCollapse = True
DataTable1.settings.paging = False
DataTable1.settings.fixedColumns = True
DataTable1.settings.fixedColumns = { leftColumns: 1, rightColumns: 0 } = data1

And i’ve tried a number of other examples i’ve seen only, but just can’t get it to work.


Do you mean this?

The libraries for this are not currently included in AppStudio.

Yes, that is it. I need to fix the left column.

Is there any way to add this library into AppStudio now?


Can the libraries be added in the next build?


We’re reluctant to add this library to the default DataTable which comes with AppStudio. It adds size and complexity.

It is important to state up front that utilising FixedColumns in your DataTable can significantly increase the complexity of the table and its use should not be undertaken lightly, particularly for complex tables. The reason for this is in how FixedColumns operates - the fixed columns are actually separate tables from the original DataTable (i.e. they are separate table elements) which are styled to look like they are visually part of the original table. These fixed tables are then positioned over the original DataTable.

The easiest way to include the FixedColumn library is to add it into the extraheaders property of your project. Here an example of loading it via CDN:

<link rel="stylesheet" type="text/css" href=""/>
<script type="text/javascript" src=""></script>


Thanks. The datatable can now meet all my requirements.
Are there any other ramifications for adding this in our projects?
I hope it won’t cause problems in the future.

I don’t know of any issues beyond what Datatables documents.