Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Creating list of checkboxes? Adobe InDesign

New Here ,
Apr 09, 2018 Apr 09, 2018

Using Adobe InDesign I'm trying to create a hierarchy list like the treeview but having it contain check boxes(in Javascript). Is this even possible with out using a plugin? If not is their a way to track treeview options so that if the user clicks the item in the treeview it has it's checked status changed to true? giving the same effect as a checkbox? Something like the image i've pasted in.Image result for checkbox hierarchy

TOPICS
Scripting
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2018 Apr 10, 2018

With InDesign's tools that's not really possible. You'd probably have to look into CEP, and i'm not even sure you can do it using that framework.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 10, 2018 Apr 10, 2018

Is it possible to have an onclick event listener for a treeview listitem so that when a user selects an item I could change the checked value to true? Giving the same effect as a checkbox essentially.  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Apr 10, 2018 Apr 10, 2018

I won't say it's not possible with ScriptUI but the amount of code required would probably discourage the bravest.

CEP certainly would allow this with some custom development too. Still would require a certain amount of code but with possibly more substainability regarding to updates.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Apr 12, 2018 Apr 12, 2018
LATEST

With HTML CEP it would be pretty simple stuff.

You can check out these GitHub - patosai/tree-multiselect.js: jQuery multiple select with nested options

30+ jQuery Multiselect Plugin & Widget with Examples

SUI you would have to make your own widgets which with each app version get less and less reliable.

Basically you could use PNGs for you triangles tree expanders and dynamically add checkboxes that are indented according to their level.

I actually think it would be quite simple but I don't have the time now to place a demo.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines