herculanojs Posted June 13, 2018 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
Sherzod Posted June 13, 2018 Posted June 13, 2018 Hi, Have you tried to search answers on the forum?What options are set on the grid? Quote
herculanojs Posted June 13, 2018 Author 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
allenchow Posted June 14, 2018 Posted June 14, 2018 That's what the problem that I stated . But no solution yet Quote
herculanojs Posted June 14, 2018 Author 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
allenchow Posted June 15, 2018 Posted June 15, 2018 I've tried condition arow = dbgrid.currrow, but not work Quote
Wilton Ergon Posted June 21, 2018 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
allenchow Posted June 22, 2018 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
allenchow Posted June 22, 2018 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
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.