Question on tooltips

Tooltip

Hi,
On7.11 In row for grid at component level, we can see tooltip help but the tool tip is not showing on that value. We need to show the tooltip on field level. Can any one guide how can we achieve that? Use case is we are showing true/false values in a column in grid & if it is false, we need to show tooltip help.

Thanks

OriginalPostID-192940

OriginalPostID-192940

  Discussion posts and replies are publicly visible

Parents
  • hey Eduardo, The code for the data is:
    a!gridRowLayout(
    id: ri!index,
    contents: {
    a!textField(
    /* Labels are not visible in grid cells but are necessary to meet accessibility requirements */
    label: "Id" & ri!index,
               readOnly:true,
    value: ri!fD[ri!index].ID,
    saveInto: ri!fD[ri!index].ID
    ),
    a!textField(
    label: "Type" & ri!index,
               readOnly:true,
    value: ri!fD[ri!index].Type,
    saveInto: ri!fD[ri!index].Type
    ),
    a!textField(
    label: "SubType" & ri!index,
               readOnly:true,
    value: ri!fD[ri!index].SubType,
    saveInto: ri!fD[ri!index].SubType
    ),
              a!textField(
    label: "Value" & ri!index,
               readOnly:true,
    value: if(ri!fD[ri!index].SubType = "A","T","R"),
    helpTooltip:"Test",
    saveInto: ri!fD[ri!index].Name
    ),
                        a!textField(
    label: "Available" & ri!index,
               readOnly:true,
    value: if(ri!fD[ri!index].SubType = "A","Y","N"),
    saveInto: ri!available,
    helpTooltip: "Test"
    ),
              a!dropdownField(
    label: "Request" & ri!index,
    choiceLabels: {1, 2},
    choiceValues: {1, 2},
    placeholderLabel: "Null",
    value: ri!request,
    saveInto: ri!request
    )
    }
    )
Reply
  • hey Eduardo, The code for the data is:
    a!gridRowLayout(
    id: ri!index,
    contents: {
    a!textField(
    /* Labels are not visible in grid cells but are necessary to meet accessibility requirements */
    label: "Id" & ri!index,
               readOnly:true,
    value: ri!fD[ri!index].ID,
    saveInto: ri!fD[ri!index].ID
    ),
    a!textField(
    label: "Type" & ri!index,
               readOnly:true,
    value: ri!fD[ri!index].Type,
    saveInto: ri!fD[ri!index].Type
    ),
    a!textField(
    label: "SubType" & ri!index,
               readOnly:true,
    value: ri!fD[ri!index].SubType,
    saveInto: ri!fD[ri!index].SubType
    ),
              a!textField(
    label: "Value" & ri!index,
               readOnly:true,
    value: if(ri!fD[ri!index].SubType = "A","T","R"),
    helpTooltip:"Test",
    saveInto: ri!fD[ri!index].Name
    ),
                        a!textField(
    label: "Available" & ri!index,
               readOnly:true,
    value: if(ri!fD[ri!index].SubType = "A","Y","N"),
    saveInto: ri!available,
    helpTooltip: "Test"
    ),
              a!dropdownField(
    label: "Request" & ri!index,
    choiceLabels: {1, 2},
    choiceValues: {1, 2},
    placeholderLabel: "Null",
    value: ri!request,
    saveInto: ri!request
    )
    }
    )
Children
No Data