Triggering a cellformatting event of a datagridview
-
Hi. I have a cellformatting event of a datagridview. No problem when loading and running first time. But what should i do if i click on a button and run cellformatting with this click. I couldnt manage this. Even i run databindingcompleted manually but it didnt help run cellformatting.
-
Hi. I have a cellformatting event of a datagridview. No problem when loading and running first time. But what should i do if i click on a button and run cellformatting with this click. I couldnt manage this. Even i run databindingcompleted manually but it didnt help run cellformatting.
Check MSDN documentation: [How to: Customize Data Formatting in the Windows Forms DataGridView Control | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/how-to-customize-data-formatting-in-the-windows-forms-datagridview-control) [How to: Set Default Cell Styles and Data Formats for the Windows Forms DataGridView Control Using the Designer | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/default-cell-styles-datagridview) [How to: Format Data in the Windows Forms DataGridView Control | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/framework/winforms/controls/how-to-format-data-in-the-windows-forms-datagridview-control)