Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
0
igbDataGrid RowStylesScript (conditional row formatting)
posted

In the docs, there's a RowStylesScript sample.  But it looks like this only exists in the igbGrid, not the igbDataGird?

For example,

igRegisterScript("WebGridRowStylesHandler", () => {
return {
background: (row) => (+row.data['due_date'] == '2021/09/09') ? '#333333' : '#333333'
};
}, true);

I tried using the DataBoundScript on the control, but you can only access one control at a time,  Is it possible to format a row based on more than one value in the row?

Thanks

Sean

Parents
No Data
Reply Children
No Data