i have that code in my desktop application that fill the datagrid from mysql database
var mA = new MySql.Data.MySqlClient.MySqlDataAdapter("SELECT * FROM items", DataHolder.MySqlConnection);
var mT = new System.Data.DataTable();
mA.Fill(mT);
dataGrid.ItemsSource = mT.DefaultView;
but i can't figure out how to bind it to change certain cells in certain column to change it's background color when it's equl to certain values.
I have read Change DataGrid cell colour based on values, but in my case there is no columns to bind in the Data Grid until the code is executed. What I am asking is "how to make it work with that"?!