<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Grid Configuration - Row Based State Definition in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/795354#M58105</link>
    <description>&lt;P&gt;Hi Sharon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up copying and pasting code from the service "GetEmployeeConfiguration" on the GridAdvancedExampleServices thing found from the link below, and inserting code specific to my project.&amp;nbsp; Most likely some typo in my code that I could not find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html#wwID0ECAX5" target="_blank"&gt;https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html#wwID0ECAX5&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2022 16:21:33 GMT</pubDate>
    <dc:creator>travman7777</dc:creator>
    <dc:date>2022-05-11T16:21:33Z</dc:date>
    <item>
      <title>Grid Configuration - Row Based State Definition</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/794624#M58027</link>
      <description>&lt;P&gt;Anyone have success setting up row based state definitions using a grid configuration?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is a code snippet of my configuration. I have checked that the column "fieldName" matches the field name below, values in my table the states "value", and that I am able to apply general styling to the grid. (see the commented out style).&amp;nbsp; Any ideas on what else could be going on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;        "rows":       {
        "selection":                  "single",
        "defaultSelectedRows":        "",
        "minHeight":                  "30",
        "autoScroll":                 true, 
        "rowFormatter": { 
            "stateDefinition": {                       
                "name":      "Entry Difference Indicator",
                "fieldName": "entryDifferenceIndicator",
                "type":      "not-fixed",
                "states":    [  
                    {
                        "name":       "Different Entries",  
                        "value":      "noEquivalentEntry",
                        "comparator": "==", 
                        "styleName":  "rowFormatterStyle" 
                    }
                ]
            }
        }
    },
    "styles": {
        "rowFormatterStyle":             {
            "backgroundColor": "blue",
            "fontWeight":          "bold"
        },
        /*"rowBackgroundStyle":             {
            "backgroundColor": "blue",
        },*/
    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 19:48:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/794624#M58027</guid>
      <dc:creator>travman7777</dc:creator>
      <dc:date>2022-05-09T19:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Grid Configuration - Row Based State Definition</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/795313#M58093</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/442483"&gt;@travman7777&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide more details on the issue?&amp;nbsp; What are you trying to do that isn't working as expected?&amp;nbsp; If you can send some screenshots showing what you want vs. what you are seeing would be helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--Sharon&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 14:14:42 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/795313#M58093</guid>
      <dc:creator>slangley</dc:creator>
      <dc:date>2022-05-11T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Grid Configuration - Row Based State Definition</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/795354#M58105</link>
      <description>&lt;P&gt;Hi Sharon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up copying and pasting code from the service "GetEmployeeConfiguration" on the GridAdvancedExampleServices thing found from the link below, and inserting code specific to my project.&amp;nbsp; Most likely some typo in my code that I could not find.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html#wwID0ECAX5" target="_blank"&gt;https://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/AdvancedGridsSamplesFile.html#wwID0ECAX5&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:21:33 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Grid-Configuration-Row-Based-State-Definition/m-p/795354#M58105</guid>
      <dc:creator>travman7777</dc:creator>
      <dc:date>2022-05-11T16:21:33Z</dc:date>
    </item>
  </channel>
</rss>

