Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Cell input label disappears for a numeric grid when viewing on mobile devices

Is it possible to make the cell input label appear in a numeric grid on mobile devices?

I noticed they had disappeared.

They are fine on desktops / laptops and tablets (landscape).

Thank you.
asked Dec 4, 2016 by Paul Moon Platinum (101,255 points)

1 Answer

0 votes
I'm not sure why input labels don't appear for mobile grids.  In the meantime, this code will add the labels back:

    $('.mobile_grid .numeric_input').before('<span class="grid_cell_text">A</span>');
    $('.mobile_grid .numeric_input').after('<span class="grid_cell_text">Z</span>');

This CSS will give the labels a small margin that may be a visual improvement:

.mobile_grid span.grid_cell_text {
    margin: 4px;
answered Dec 4, 2016 by Zachary Platinum Sawtooth Software, Inc. (214,575 points)
Thanks Zachary, much appreciated. I used the JavaScript which I thought did a good job of inserting the cell input label for mobile devices.

Not sure this is a bug or by design? If it is a bug, are you okay to report it to your development team?

Thanks again mate.
My guess is that this behavior is not intentional.  I'll file it later today.
Thanks again Zachary. I agree, it appears to be a bug.