Shortcut Key for Row Expand/Collapse

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
DaveLClarkI
Experienced User
Posts: 165
Joined: Wed Dec 11, 2013 10:40 am
First Name: Dave
Last Name: Clark
Company Name: WinWholesale, Inc.
Phone: 937-294-5331
Address 1: 31101 Kettering Blvd.
City: Dayton
State / Province: Outside Canada/USA
Zip / Postal Code: 45439
Country: United States
Contact:

Shortcut Key for Row Expand/Collapse

Post by DaveLClarkI »

I see the properties to support grid row expand (SFLFOLD) and collapse (SFLDROP), but I don't see how I can assign a shortcut key (e.g., CA08 or CF08) to open and close the fold. How is this done and is this found in the Profound documentation somewhere? Thanks.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Shortcut Key for Row Expand/Collapse

Post by David »

I don't think there is a way to assign a shortcut key to this directly on the grid.

However, there is this API which will toggle the expanded/collapsed state:

http://www.profoundlogic.com/docs/displ ... ggle%28%29

This can be assigned to run from the click event of a button, or an icon, which can have a shortcut key.
DaveLClarkI
Experienced User
Posts: 165
Joined: Wed Dec 11, 2013 10:40 am
First Name: Dave
Last Name: Clark
Company Name: WinWholesale, Inc.
Phone: 937-294-5331
Address 1: 31101 Kettering Blvd.
City: Dayton
State / Province: Outside Canada/USA
Zip / Postal Code: 45439
Country: United States
Contact:

Re: Shortcut Key for Row Expand/Collapse

Post by DaveLClarkI »

OK, I was wondering because (to give myself more information) I created a green-screen version and converted it to a Profound rich display file. In launch preview mode my function key opens and closes the fold but I can't see anything in design mode which would support that. Color me curious as to how this is being accomplished?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Shortcut Key for Row Expand/Collapse

Post by David »

It should have put a +/- icon on the subfile, which has the JavaScript API mentioned set to run onclick. Is it not there?
DaveLClarkI
Experienced User
Posts: 165
Joined: Wed Dec 11, 2013 10:40 am
First Name: Dave
Last Name: Clark
Company Name: WinWholesale, Inc.
Phone: 937-294-5331
Address 1: 31101 Kettering Blvd.
City: Dayton
State / Province: Outside Canada/USA
Zip / Postal Code: 45439
Country: United States
Contact:

Re: Shortcut Key for Row Expand/Collapse

Post by DaveLClarkI »

Ah, now I see it. That is where the shortcut key is assigned, too. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests