herculanojs Posted June 13, 2018 Share Posted June 13, 2018 How can we maintain the color of the selected record when we perform the conditional color change of a particular record using the customdrawcell event In the example image, all records have met the condition that changed the color of the records, but it is not possible to identify which one is selected. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 13, 2018 Share Posted June 13, 2018 Hi, Have you tried to search answers on the forum?What options are set on the grid? Quote Link to comment Share on other sites More sharing options...
herculanojs Posted June 13, 2018 Author Share Posted June 13, 2018 Hi, Have you tried to search answers on the forum? What options are set on the grid? Certainly. I usually do this. Maybe I could not find it the way I did, but I usually do it. But I did another search again, under other conditions, and found something related to 6 js, as well as a solution. But thank you, and forgive the hassle It is our pleasure to search the sim forum http://forums.unigui.com/index.php?/topic/10674-dbgrid-color-problem/?hl=drawcolumncell Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 14, 2018 Share Posted June 14, 2018 That's what the problem that I stated . But no solution yet Quote Link to comment Share on other sites More sharing options...
herculanojs Posted June 14, 2018 Author Share Posted June 14, 2018 That's what the problem that I stated . But no solution yet I have not found a solution in the forum, other things but nothing for this Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 15, 2018 Share Posted June 15, 2018 Yup, hope that they'll find one soon . Quote Link to comment Share on other sites More sharing options...
zhyhero Posted June 15, 2018 Share Posted June 15, 2018 Maybe you can try conditional font color Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 15, 2018 Share Posted June 15, 2018 I've tried condition arow = dbgrid.currrow, but not work Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 19, 2018 Share Posted June 19, 2018 Any solution >? Quote Link to comment Share on other sites More sharing options...
kkelchev Posted June 20, 2018 Share Posted June 20, 2018 Any solution about this ? Quote Link to comment Share on other sites More sharing options...
herculanojs Posted June 20, 2018 Author Share Posted June 20, 2018 + 1 Quote Link to comment Share on other sites More sharing options...
zhyhero Posted June 21, 2018 Share Posted June 21, 2018 Look like this ? unidbgridrecordselect.rar Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted June 21, 2018 Share Posted June 21, 2018 por que voce não muda a cor de algumas colunas em vez de todas, assim se todos os registros ficar com cor igual, nao vai atrapalhar a selecao do registro atual. How can we maintain the color of the selected record when we perform the conditional color change of a particular record using the customdrawcell event In the example image, all records have met the condition that changed the color of the records, but it is not possible to identify which one is selected. Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 22, 2018 Share Posted June 22, 2018 Look like this ? selected1.png selected2.png unidbgridrecordselect.rar Yes, it did so. But need to refresh everytime it clicks. Also need to work out in every modules instead . Quote Link to comment Share on other sites More sharing options...
allenchow Posted June 22, 2018 Share Posted June 22, 2018 por que voce não muda a cor de algumas colunas em vez de todas, assim se todos os registros ficar com cor igual, nao vai atrapalhar a selecao do registro atual. But it works in extjs 4.x 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.