Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
¿Cómo evitar que se marque la casilla de verificación cuando se hace clic en un nodo en JSTree?

No quiero que se marque la casilla de verificación cuando se hace clic en el nodo, solo cuando se hace clic en la casilla de verificación. Creo que el siguiente código se copió del sitio web de JSTree, y copié algunas líneas de un tutorial para habilitar las casillas de verificación.

 $('#ajaxx').jstree({ 'core' : { 'data' : { "url" : (node)=>{ return node.id === '#' ? './dirfilesapi.php?dirID=-1' : ('./dirfilesapi.php?dirID='+node.id); }, "dataType" : "json" // needed only if you do not supply JSON headers } },"checkbox" : { "keep_selected_style" : false }, "plugins": ["checkbox"] });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

"checkbox" : { "keep_selected_style" : false , "whole_node": false, "tie_selection": false },

Resuelto. No recuerdo si fue whole_node o tie_selection lo que lo hizo. Creo que eran ambos, con solo el nodo completo establecido en falso, funcionaba solo para la selección o la anulación de la selección.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!