Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Issue: Dual array and hideEmptyColumn

  • Joffm
  • Joffm's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #195775 by Joffm
Hi,
I encountered an issue with the dual scale array and "hideEmptyColumn" activated.
Here the "normal" look:


And here with "hideEmptyColumn" activated:




I downloadad the latest release of the plugin from gitlab

LS Version 3.22.9. and each of the shipped themes.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 8 months ago #195795 by DenisChenu
Replied by DenisChenu on topic Issue: Dual array and hideEmptyColumn
I think i only test hideEmptyColumn with array dual scale without the header ...

And here : there are scale header ....

Can you check without the scale header ?

Can you report the issue on gitlab ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Joffm
  • Joffm's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #195796 by Joffm
Replied by Joffm on topic Issue: Dual array and hideEmptyColumn
Hi, Denis,

without scale headers: everything is fine.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 8 months ago #195797 by DenisChenu
Replied by DenisChenu on topic Issue: Dual array and hideEmptyColumn
Some restriction to do here : gitlab.com/SondagesPro/QuestionSettingsT...deemptycolumn.js#L14

Can you check with
Code:
$(this).find("thead th:last-child").each(function(){

If it's OK : make a pull request

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
  • Joffm
  • Joffm's Avatar Topic Author
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago #195993 by Joffm
Replied by Joffm on topic Issue: Dual array and hideEmptyColumn
Hi, Denis,

sorry for delay.

I tested and seems to be alright with

$(this).find("thead th:last-child").each(function(){

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
4 years 8 months ago #195998 by DenisChenu
Replied by DenisChenu on topic Issue: Dual array and hideEmptyColumn
Oups ...

Must be
Code:
$(this).find("thead tr:last-child th").each(function(){

Can you check too ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose