sometimes I want to hide buttons in a DataGridViewButtonColumn
问题 I have a DataGridView which was the subject of a previous question (link). But sometimes the Button is null . This is fine. But if it is null, is there any way I can optionally remove/add (show/hide?) buttons to the DataGridViewButtonColumn of Buttons like this: +------------+------------+ | MyText | MyButton | +------------+------------+ | "do this" | (Yes) | | "do that" | (Yes) | | FYI 'blah' | | <---- this is where I optionally want no button | "do other" | (Yes) | +------------+----------