-2

I am doing an EXT.NET project I want to highlight the selected row of the gridpanel that I have in my code even from code behind which is c# or from javascript function it doesn't matter Any Help?

user3439769
  • 33
  • 1
  • 7

1 Answers1

1

try something like this

var getRowClass = function (record, index, rowParams, store) {
     if (record.get("test") === "test2") {
        return "my-highlighted-row";
     }
};

and then

<View>
    <ext:GridView runat="server">
      <GetRowClass Fn="getRowClass" />
    </ext:GridView>
</View>

refer here for documentation

faby
  • 7,394
  • 3
  • 27
  • 44