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

Bold type format a row in grid sap business one

556 Views

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;
            try
            {
                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

Attachments

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