Skip to content

Commit

Permalink
Docs Unhide columns in datatableJs (#27338)
Browse files Browse the repository at this point in the history
### Details:
 - *item1*
 - *...*

### Tickets:
 - *ticket-id*
  • Loading branch information
akopytko authored Oct 30, 2024
1 parent a5a0941 commit 37f5dd3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
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

0 comments on commit 37f5dd3

Please sign in to comment.