Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs Unhide columns in datatableJs #27338

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ running on an Intel® Core™ Ultra 7-165H, Intel® Core™ Ultra 7-265V, and In



.. tab-set::

.. tab-item:: OpenVINO

.. csv-table::
:class: modeldata stripe
:name: supportedModelsTableOv
:header-rows: 1
:file: ../../_static/benchmarks_files/llm_models.csv
.. csv-table::
:class: modeldata stripe
:name: supportedModelsTableOv
:header-rows: 1
:file: ../../_static/benchmarks_files/llm_models.csv

|

.. grid:: 1 1 2 2
:gutter: 4
Expand Down
14 changes: 14 additions & 0 deletions docs/sphinx_setup/_static/js/openVinoDataTables.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
$(document).ready(function () {
var pageTitle = document.title;
var columnDefs;
if(pageTitle.includes('Most Efficient Large Language Models for AI PC'))
{
columnDefs= [
{ "visible": false, "targets": [1, 2, 3, 4, 5] }
]
}
else
{
columnDefs=[]
}

var table = $('table.modeldata').DataTable({
responsive: true,
"autoWidth": false,
Expand All @@ -12,6 +25,7 @@ $(document).ready(function () {
[10, 25, 50, -1],
['10 rows', '25 rows', '50 rows', 'Show all rows']
],
"columnDefs": columnDefs,
layout: {
topStart: {
buttons: [
Expand Down
Loading