Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

datatable responsive dropdown error


https://imgur.com/a/S0g1nuV

hello, when I add datatable responsive, the operations button in it does not work, dropdown


It was working without responsive attached.


table.DataTable().on( 'draw', function () {
KTMenu.init();
});


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi,

Please try to add data-priority="1" attribute for the main title column and data-priority="2" attribute for actions column to that TH column that you need to keep outside the response wrapper:


<thead>
<tr class="fw-semibold fs-6 text-gray-800">
<th class="min-w-100px" data-priority="1">Name</th>
<th class="min-w-300px">Position</th>
<th class="min-w-300px">Office</th>
<th>Age</th>
<th>Start date</th>
<th data-priority="2">Salary</th>
</tr>
</thead>


Regards.



Great, thanks



What should I do for this situation?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(