The New Way to Build! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Learn More

Metronic demo1 template tool in my Django project. I couldn't run subtable


I tried to use the example in the link "https://preview.keenthemes.com/html/metronic/docs/general/datatables/subtable" but it didn't work. How should I do it? When I press the button, sub data does not appear.

Thanks.


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,

Could you kindly inspect the console log for any errors? Additionally, could you verify in the browser's network tab whether your myscript.js file has loaded correctly?



Hi,

Does it work in the original HTML template? Do you have an issue with your Django app ?

Do you have any JS errors in your browser console? If so please share it with us using https://imgur.com

Regards.



I cannot use components in general. I gave up on the subtable structure.
This time, I want to use Form Validation on the https://preview.keenthemes.com/html/metronic/docs/forms/formvalidation/advanced page, but I couldn't get it to work. I added the sample js code on the page to the js file named myscript. without changing anything. I copied the sample html code to my html page without making any changes. but it doesn't work. how can I do it.
SS links : https://imgur.com/a/dK0MDeq


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  :(