Hi...
I'm looking for a solution that let me to make sliding horizontally my subfile but keeping the first field locked.
For better details: this is a subfile:
CODE DESCRIPTION DATA1 DATA2 DATA3
XXXX YYYYYYYYYY ZZZZZ ZZZZZ ZZZZZ
If I slide horizontally, I would to see this one:
CODE DATA4 DATA5
XXXX ZZZZ ZZZZZ
keeping the firs column locked and slidin' only the others.
Is there a possibility to create this kind of subfile?
Thanks
SUBFILE HORIZONTAL SLIDING
-
- New User
- Posts: 6
- Joined: Fri Feb 02, 2018 10:13 am
- First Name: Livio
- Last Name: Daneluzzi
- Company Name: Daneluzzi IT
- State / Province: Outside Canada/USA
- Country: Italy
- Contact:
-
- New User
- Posts: 16
- Joined: Mon May 08, 2017 11:51 am
- First Name: Lillie
- Last Name: Yarbrough
- Company Name: Profound Logic
- Contact:
Re: SUBFILE HORIZONTAL SLIDING
Hi Livio,
For clarification, are you using this subfile in a Rich Display, or is it a detected subfile that you're using in Genie?
--Lillie
For clarification, are you using this subfile in a Rich Display, or is it a detected subfile that you're using in Genie?
--Lillie
-
- New User
- Posts: 6
- Joined: Fri Feb 02, 2018 10:13 am
- First Name: Livio
- Last Name: Daneluzzi
- Company Name: Daneluzzi IT
- State / Province: Outside Canada/USA
- Country: Italy
- Contact:
Re: SUBFILE HORIZONTAL SLIDING
Sorry, for the delay in answer. I was busy with my job in the last days.
The screen is a simple one rich display with only subfile datas and two buttons. The first field is a choice field and the others only in output.
Pratically I have:
The screen is a simple one rich display with only subfile datas and two buttons. The first field is a choice field and the others only in output.
Pratically I have:
RPG CODE
and I'm asking if it's possibile to slide horizontally an keep the CHOICE AND CODE (or at least almost one of them) blocked with a result like this after a slide:
RPG CODE
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: SUBFILE HORIZONTAL SLIDING
The way customers have done that in the past is by creating two subfiles and styling/positioning them so that they look like one grid. The one on the left would contain only the choice/code, and the one on the right would contain everything else. The one on the right would be inside a simple layout widget with horizontal scrolling turned on.
The grid on the left would have it's scrollbar turned off, and a little bit of JavaScript code in the grid on the right can then be used to scroll the two grids together as if they are one grid.
What doesn't work in that scenario are features like filtering, sorting and excel output, since they are two grids they won't be sorted/exported/filtered together. (Unless you write your own routines to do so.) Aside from those things, it works nicely.
The grid on the left would have it's scrollbar turned off, and a little bit of JavaScript code in the grid on the right can then be used to scroll the two grids together as if they are one grid.
What doesn't work in that scenario are features like filtering, sorting and excel output, since they are two grids they won't be sorted/exported/filtered together. (Unless you write your own routines to do so.) Aside from those things, it works nicely.
-
- New User
- Posts: 6
- Joined: Fri Feb 02, 2018 10:13 am
- First Name: Livio
- Last Name: Daneluzzi
- Company Name: Daneluzzi IT
- State / Province: Outside Canada/USA
- Country: Italy
- Contact:
Re: SUBFILE HORIZONTAL SLIDING
Hi Scott, thanks for your reply!
Sincerely I haven't thought to use two subfiles side by side 'cause I don't knew how to scroll them in the same time.
But if you tell me there's a way to do it usin' Javascript, perfectly, I'll try to use it!!! I think this is the right solution about my question.
Thanks Scott.
(I learned a lot of things usin' your website, and I would to thank you also for this!)
Sincerely I haven't thought to use two subfiles side by side 'cause I don't knew how to scroll them in the same time.
But if you tell me there's a way to do it usin' Javascript, perfectly, I'll try to use it!!! I think this is the right solution about my question.
Thanks Scott.
(I learned a lot of things usin' your website, and I would to thank you also for this!)
Who is online
Users browsing this forum: No registered users and 2 guests