azago Posted May 8, 2019 Share Posted May 8, 2019 ---------------Rileva linguaAfrikaansAlbaneseAmaricoAraboArmenoAzerbaigianoBascoBengaleseBielorussoBirmanoBosniacoBulgaroCatalanoCebuanoCecoCinese (semplificato)Cinese (tradizionale)CoreanoCorsoCroatoCurdoDaneseEbraicoEsperantoEstoneFilippinoFinlandeseFranceseFrisone occidentaleGaelico scozzeseGalizianoGalleseGeorgianoGiapponeseGiavaneseGrecoGujaratiHaitianoHausaHawaianoHindiHmongIgboIndonesianoIngleseIrlandeseIslandeseItalianoKannadaKazakoKhmerKirghisoLaoLatinoLettoneLituanoLussemburgheseMacedoneMalayalamMaleseMalgascioMalteseMaoriMarathiMongoloNepaleseNorvegeseNyanjaOlandesePashtoPersianoPolaccoPortoghesePunjabiRumenoRussoSamoanoSerboShonaSindhiSingaleseSlovaccoSlovenoSomaloSotho del sudSpagnoloSundaneseSvedeseSwahiliTagicoTamilTedescoTeluguThaiTurcoUcrainoUnghereseUrduUzbecoVietnamitaXhosaYiddishYorubaZuluItaliano I need on a single grid (not on all project grids) not to show the background colors of the selected row I Use Delphi Rio Unigui v1.90.0.1498 Theme uni_sencha I have also modified the values of beforeinit in the grid function beforeInit(sender, config) { sender.disableSelection = true; } I tried to execute the commands OnCreate MyGrid.JSInterface.JSCallGlobal('Ext.util.CSS.createStyleSheet', ['#'+ MyGrid.JSName + '_id .x-grid-row-selected .x-grid-cell-inner { background-color:white; color: black;}', MyGrid.JSName + '_css' ]); On Destroy MyGrid.JSInterface.JSCallGlobal('Ext.util.CSS.removeStyleSheet', [ MyGrid.JSName+'_css' ]); but the result is that the first cell is always with a colored background. How can I do ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.