<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 17 Jun 2026 10:17:05 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Prevent ExtJS grid plugin from overriding the default getRowClass method of Grid View - misterb101</title>
      <link>https://snipplr.com/view/47085/prevent-extjs-grid-plugin-from-overriding-the-default-getrowclass-method-of-grid-view</link>
      <description>&lt;p&gt;ExtJS is great for OO style interface design but has a couple of strange behaviors. For instance when adding the ExtJS RowExpander plugin to a grid, the plugin overrides the gridView's getRowClass function. That's not really what you want. For instance, I want to mark certain records in a grid red when they are overdue, and also use the RowExpander plugin. The plugin however throws away my own custom formatting.&#13;
&#13;
Solution is to create a backup copy of the default getRowClass function and call both the plugin function and the original, concatenating the results together with a space&lt;/p&gt;</description>
      <pubDate>Fri, 14 Jan 2011 03:02:40 UTC</pubDate>
      <guid>https://snipplr.com/view/47085/prevent-extjs-grid-plugin-from-overriding-the-default-getrowclass-method-of-grid-view</guid>
    </item>
  </channel>
</rss>
