How can I add a column of buttons near binded list items of gridcontrol devexpress? Binded list of items to gridcontrol as follows:
List<AnObject> lst = new List<AnObject>();
SqlDataReader sdr = cmd.ExecuteReader();
while (sdr.Read()){
AnObject object = new AnObject();
object.ID = Convert.ToInt32(s["ID"]);
object.Name = s["Name"].ToString();
lst.Add(object);
}
gridControl1.DataSource = lst;
I need to add button at the rightside of each row. Because with click event need to do some work.
Thanks.