Multiple fixed columns
Multiple fixed columns
irism
Posts: 1Questions: 1Answers: 0
Hello, I have a question, when I use css and js files directly from the URL "https: //cdn.datatables ...." the datatable "Multiple fixed columns" Works ok, but when I download js and css files and use these files directly from the application, it not work.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<f:view locale="#{localeBean.locale}" contentType="text/html">
<h:head>
<title><h:outputText value="#{messages.general_titulo}" /></title>
<script type="text/javascript" src="../js/jquery-1.12.3.js" />
<!-- respond ok the "Multiple fixed columns"-->
<script type="text/javascript" src="https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js" />
<script type="text/javascript" src="https://cdn.datatables.net/fixedcolumns/3.2.2/js/dataTables.fixedColumns.min.js " />
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css"/>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/fixedcolumns/3.2.2/css/fixedColumns.dataTables.min.css"/>
<!--but Not respond well the "Multiple fixed columns" with the downloaded file, but works well directing the same url-->
<script type="text/javascript" src="../js/jquery-1.12.3.js" />
<script type="text/javascript" src="../js/dataTables.fixedColumns.min.js" />
<script type="text/javascript" src="../js/jquery.dataTables.min.js" />
<link rel="stylesheet" type="text/css" href="../css/fixedColumns.dataTables.min.css" />
<link rel="stylesheet" type="text/css" href="../css/jquery.dataTables.min.css" />
as I fix it?
This discussion has been closed.
Answers
We'd need a link to a page showing the issue please.
Allan