Skip to content

Replies

0
Kenneth Haynes
Kenneth Haynes answered on May 29, 2020 3:05 PM

That helped a great deal, thank you. It's finding the cells now and applying the styling. 

0
Kenneth Haynes
Kenneth Haynes answered on May 29, 2020 12:25 PM

I'm not sure. This is what I see in the debugger when I set a breakpoint after the length column is selected using this jQuery:

                                var lengthCell = $(gridSelector).igGrid("cellById", rowIndex, dynamicColumn);
                                $(lengthCell).addClass("overSoldHighlight");

it selects something, and I add the class to it, but I can't tell if the selector is getting a TD element. I think the prevObject appears to point to the grid if that's of any help.  

0
Kenneth Haynes
Kenneth Haynes answered on May 29, 2020 11:57 AM

Hello Deyan,

Thanks for replying. I am using the rowsRendered event to apply formatting. 

        rowsRendered: function() {
                FormatGrid('@Model.GridIndex', @Html.Raw(Json.Encode(Model.LengthValues)));
            }

Ken

0
Kenneth Haynes
Kenneth Haynes answered on Dec 11, 2019 6:26 PM

Thank you! That's exactly what it was.