Skip to Content
Former Member
Nov 15, 2017 at 04:14 PM

Bold type format a row in grid sap business one


I would like to make a row with Bold type format in a grid on my addon, I mean in the bp on the payment run all the bp had select some payment method i would like to do that.

i woud like to select like this one.

my code is:

        private void Button2_ClickBefore(object sboObject, SAPbouiCOM.SBOItemEventArg pVal, out bool BubbleEvent)
            BubbleEvent = true;
                if (oGrid.Rows.SelectedRows.Count > 0)   //VERIFICA QUE EXISTA UN ROW SELECCIONADO
                    int nSelecRow = oGrid.Rows.SelectedRows.Item(0, SAPbouiCOM.BoOrderType.ot_RowOrder)
                    string sValorGrid = Convert.ToString(oGrid.DataTable.GetValue("Código", nSelecRow));

                   // oGrid.Columns.Item("Código").TextStyle = 1;

thank you


grilla.png (30.5 kB)
grilalbp.png (31.1 kB)