In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

DBBrowse : Can I change Color of particular row ?

Xailer professional forum in English
Responder
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

DBBrowse : Can I change Color of particular row ?

Mensaje por Milan Mehta »

Is there any way by which I can change the color of the row based on the
value of a field ?
e.g. If abc > 0, row should be displayed in Green otherwise Black.
TIA
Milan.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

DBBrowse : Can I change Color of particular row ?

Mensaje por ignacio »

Milan,
Take a look at event TBrwColum:OnDrawCell
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Is there any way by which I can change the color of the row based on the
> value of a field ?
> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>
> TIA
> Milan.
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

DBBrowse : Can I change Color of particular row ?

Mensaje por ignacio »

Milan,
Take a look at event TBrwColum:OnDrawCell
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Is there any way by which I can change the color of the row based on the
> value of a field ?
> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>
> TIA
> Milan.
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

DBBrowse : Can I change Color of particular row ?

Mensaje por Milan Mehta »

Dear Ignacio,
It worked great. Thanks a lot.
With OnDrawCell event I could change the color of the cell.
One more question : Is there any way to make the entire row in a different
color ?
TIA
Milan.
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Milan,
>
> Take a look at event TBrwColum:OnDrawCell
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
>
> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Is there any way by which I can change the color of the row based on the
>> value of a field ?
>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>
>> TIA
>> Milan.
>>
Milan Mehta
Mensajes: 134
Registrado: Dom Dic 27, 2009 9:54 am

DBBrowse : Can I change Color of particular row ?

Mensaje por Milan Mehta »

Dear Ignacio,
It worked great. Thanks a lot.
With OnDrawCell event I could change the color of the cell.
One more question : Is there any way to make the entire row in a different
color ?
TIA
Milan.
"Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Milan,
>
> Take a look at event TBrwColum:OnDrawCell
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Equipo de Xailer/Xailer team]
> http://www.xailer.com
> http://www.xailer.info
>
> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Is there any way by which I can change the color of the row based on the
>> value of a field ?
>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>
>> TIA
>> Milan.
>>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

DBBrowse : Can I change Color of particular row ?

Mensaje por ignacio »

Milan,
Capture the same event on all the columns redirecting them to the same form
method .
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b9b176c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Dear Ignacio,
>
> It worked great. Thanks a lot.
> With OnDrawCell event I could change the color of the cell.
> One more question : Is there any way to make the entire row in a different
> color ?
>
> TIA
> Milan.
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Milan,
>>
>> Take a look at event TBrwColum:OnDrawCell
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Equipo de Xailer/Xailer team]
>> http://www.xailer.com
>> http://www.xailer.info
>>
>> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
>> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Is there any way by which I can change the color of the row based on the
>>> value of a field ?
>>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>>
>>> TIA
>>> Milan.
>>>
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9259
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

DBBrowse : Can I change Color of particular row ?

Mensaje por ignacio »

Milan,
Capture the same event on all the columns redirecting them to the same form
method .
Regards,
--
Ignacio Ortiz de Zúñiga
[Equipo de Xailer/Xailer team]
http://www.xailer.com
http://www.xailer.info
"Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
noticias:4b9b176c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> Dear Ignacio,
>
> It worked great. Thanks a lot.
> With OnDrawCell event I could change the color of the cell.
> One more question : Is there any way to make the entire row in a different
> color ?
>
> TIA
> Milan.
>
> "Ignacio Ortiz de Zúñiga" <NoNameToAvoidSpam@xailer.com> wrote in message
> news:4b967a2c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>> Milan,
>>
>> Take a look at event TBrwColum:OnDrawCell
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Equipo de Xailer/Xailer team]
>> http://www.xailer.com
>> http://www.xailer.info
>>
>> "Milan Mehta" <lotusinfosys@yahoo.co.in> escribió en el mensaje de
>> noticias:4b96639c$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
>>> Is there any way by which I can change the color of the row based on the
>>> value of a field ?
>>> e.g. If abc > 0, row should be displayed in Green otherwise Black.
>>>
>>> TIA
>>> Milan.
>>>
>
>
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Responder