Just as other components provide an 'inline' option for the title, provide an option to display the title, but inside the grid in the table's header row in the first column. This makes the grids look very tidy.

Proposed UI:
Rather than a checkbox for displaying the title, provide a pop-up with options for none, above, or in header.

Comments

quicksketch’s picture

Component: Code » User interface
Priority: Normal » Minor

Thanks for the suggestion. While possible, I'm not sure we'll get to this any time soon, as it's not a trivial change (as it's essentially creating a custom display mode for title, while all other components use "above", "inline", or "none").

danchadwick’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

There won't be further feature development in the X.x-3.x branches. Get the irony of closing my own issue? I implemented this in custom themeing.

danchadwick’s picture

Version: 7.x-3.16 » 7.x-4.x-dev
Component: User interface » Code
Priority: Minor » Normal
Status: Closed (won't fix) » Active

Reconsidering. This is a nice feature.

danchadwick’s picture

Title: Provide option to move grid title to column 1 heading » Provide option to move grid title to first row header.
Status: Active » Fixed
StatusFileSize
new7.59 KB

Also supports left/right headers by give the component a label in the form "Left title|Right title".

I also refactored the code a bit, reducing redundant code between form output and html display output.

Committed to 7.x-4.x and 8.x.

  • DanChadwick committed bcb9dd1 on 8.x-4.x
    Issue #1463364 by DanChadwick: Added option to move grid title to first...

  • DanChadwick committed bc9870e on
    Issue #1463364 by DanChadwick: Added option to move grid title to first...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

fallenturtle’s picture

Where is the UI for dealing with this? I can't find it.

fallenturtle’s picture

Status: Closed (fixed) » Active
StatusFileSize
new431.82 KB
new380.72 KB

I think the options are missing... or I can't find them. I included screen captures from the component page and the form settings page.

I'm using Drupal 7.43 and the dev version of webform.

Thanks

fallenturtle’s picture

Status: Active » Closed (fixed)

Stepping back status change as its probably something I'm doing wrong.

liam morland’s picture