<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>dynamic link label style</title><link>https://community.appian.com/discussions/f/user-interface/26604/dynamic-link-label-style</link><description>I want add a color and text style to add row dynamic link label using in editable grid . how can i change the color ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: dynamic link label style</title><link>https://community.appian.com/thread/104438?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 09:54:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:21e2f212-2f1b-4b1b-a72e-76cd36616d79</guid><dc:creator>Vinay Katta</dc:creator><description>&lt;p&gt;We can comment out the addRowLink parameter and add a rich text component below the grid.&lt;br /&gt;&lt;br /&gt;You can try this out in a sample interface&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!employees: {
    a!map(
      id: 1,
      firstName: &amp;quot;John&amp;quot;,
      lastName: &amp;quot;Smith&amp;quot;,
      department: &amp;quot;Engineering&amp;quot;,
      title: &amp;quot;Director&amp;quot;,
      phoneNumber: &amp;quot;555-123-4567&amp;quot;,
      startDate: today() - 360
    ),
    a!map(
      id: 2,
      firstName: &amp;quot;Michael&amp;quot;,
      lastName: &amp;quot;Johnson&amp;quot;,
      department: &amp;quot;Finance&amp;quot;,
      title: &amp;quot;Analyst&amp;quot;,
      phoneNumber: &amp;quot;555-987-6543&amp;quot;,
      startDate: today() - 360
    ),
    a!map(
      id: 3,
      firstName: &amp;quot;Mary&amp;quot;,
      lastName: &amp;quot;Reed&amp;quot;,
      department: &amp;quot;Engineering&amp;quot;,
      title: &amp;quot;Software Engineer&amp;quot;,
      phoneNumber: &amp;quot;555-456-0123&amp;quot;,
      startDate: today() - 240
    ),
    
  },
  a!formLayout(
    label: &amp;quot;Example: Add,Update, or Remove Employee Data&amp;quot;,
    contents: {
      a!gridLayout(
        totalCount: count(local!employees),
        headerCells: {
          a!gridLayoutHeaderCell(label: &amp;quot;First Name&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Last Name&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Department&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Title&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Phone Number&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;Start Date&amp;quot;, align: &amp;quot;RIGHT&amp;quot;),
          a!gridLayoutHeaderCell(label: &amp;quot;&amp;quot;)
        },
        columnConfigs: {
          a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight: 3),
          a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight: 3),
          a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight: 3),
          a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight: 3),
          a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight: 3),
          a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight: 2),
          a!gridLayoutColumnConfig(width: &amp;quot;ICON&amp;quot;)
        },
        rows: a!forEach(
          items: local!employees,
          expression: a!gridRowLayout(
            contents: {
              a!textField(
                label: &amp;quot;first name &amp;quot; &amp;amp; fv!index,
                value: fv!item.firstName,
                saveInto: fv!item.firstName,
                required: true
              ),
              a!textField(
                label: &amp;quot;last name &amp;quot; &amp;amp; fv!index,
                value: fv!item.lastName,
                saveInto: fv!item.lastName,
                required: true
              ),
              a!dropdownField(
                label: &amp;quot;department &amp;quot; &amp;amp; fv!index,
                placeholder: &amp;quot;-- Select -- &amp;quot;,
                choiceLabels: {
                  &amp;quot;Corporate&amp;quot;,
                  &amp;quot;Engineering&amp;quot;,
                  &amp;quot;Finance&amp;quot;,
                  &amp;quot;Human Resources&amp;quot;,
                  &amp;quot;Professional Services&amp;quot;,
                  &amp;quot;Sales&amp;quot;
                },
                choiceValues: {
                  &amp;quot;Corporate&amp;quot;,
                  &amp;quot;Engineering&amp;quot;,
                  &amp;quot;Finance&amp;quot;,
                  &amp;quot;Human Resources&amp;quot;,
                  &amp;quot;Professional Services&amp;quot;,
                  &amp;quot;Sales&amp;quot;
                },
                value: fv!item.department,
                saveInto: fv!item.department,
                required: true
              ),
              a!textField(
                label: &amp;quot;title &amp;quot; &amp;amp; fv!index,
                value: fv!item.title,
                saveInto: fv!item.title,
                required: true
              ),
              a!textField(
                label: &amp;quot;phone number &amp;quot; &amp;amp; fv!index,
                placeholder: &amp;quot;555-456-7890&amp;quot;,
                value: fv!item.phoneNumber,
                saveInto: fv!item.phoneNumber
              ),
              a!dateField(
                label: &amp;quot;start date &amp;quot; &amp;amp; fv!index,
                value: fv!item.startDate,
                saveInto: fv!item.startDate,
                required: true,
                align: &amp;quot;RIGHT&amp;quot;
              ),
              a!richTextDisplayField(
                value: a!richTextIcon(
                  icon: &amp;quot;close&amp;quot;,
                  altText: &amp;quot;delete &amp;quot; &amp;amp; fv!index,
                  caption: &amp;quot;Remove &amp;quot; &amp;amp; fv!item.firstName &amp;amp; &amp;quot; &amp;quot; &amp;amp; fv!item.lastName,
                  link: a!dynamicLink(
                    value: fv!index,
                    saveInto: {
                      a!save(
                        local!employees,
                        remove(local!employees, save!value)
                      )
                    }
                  ),
                  linkStyle: &amp;quot;STANDALONE&amp;quot;,
                  color: &amp;quot;NEGATIVE&amp;quot;
                )
              )
            },
            id: fv!index
          )
        ),
        rowHeader: 1
      ),
      a!richTextDisplayField(
        value: a!richTextItem(
          text: &amp;quot; + Add Employees&amp;quot;,
          link: a!dynamicLink(
            label: &amp;quot;Add Employee&amp;quot;,
            value: { startDate: today() + 1 },
            saveInto: {
              a!save(
                local!employees,
                append(local!employees, save!value)
              )
            }
          ),
          color: &amp;quot;POSITIVE&amp;quot;,
          style: &amp;quot;STRONG&amp;quot;,
          linkStyle: &amp;quot;STANDALONE&amp;quot;,
          
        )
      )
    },
    buttons: a!buttonLayout(
      primaryButtons: a!buttonWidget(label: &amp;quot;Submit&amp;quot;, submit: true)
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>