Login Register

dynamic CSS

Dynamic CSS for grid row based upon value in store.

I have read the other thread titled similarly to this one and I have parsed the forums and not found exactly what I need.

What I am trying to do is style a row with a slightly different background color if the row is of a particular type. Where I can find out the type is by checking the ItemFileReadStore in which one of the fields is rowType: "child" or rowType: "parent".
I need to be able to figure out what rows in the grid need to be recolored using this information.

CSS via dynamically inserted <link> in parent LayoutContainer -- ContentPane problem -- am I doomed?

Hi there.

I wonder if I am working against dojo's scriptScope but I am unsure. The (simplified) document is:

<head>
   <link> <!-- stylsheet for current 'page' -->
</head>
   <!-- menu items here -->

   <!-- AJAX loaded html fragments go in this: -->
   <div dojoType="dijit.layout.LayoutContainer">
      <div dojoType="dijit.layout.ContentPane" id="clientPage" layoutAlign="client"></div>
   </div>
Syndicate content