Jump to content

Displaying data in the grid+ExtEvents


Mediv

Recommended Posts

Hi Farshad.

I have found a property in component Query Component -> Fields Editor -> DisplayFormat = 0.00,

everything works as expected, but after adding the event ExtEvents -> OnReconfigure DisplayFormat property stops working.

Can I fix it?

 

delphi 2007, Chrome 18 ... beta

 

Thank you.

post-475-0-88641400-1333518655_thumb.png

post-475-0-68288200-1333518666_thumb.png

post-475-0-16625300-1333518674_thumb.png

post-475-0-03702400-1333518682_thumb.png

Link to comment
Share on other sites

  • Administrators

Hi Farshad.

I have found a property in component Query Component -> Fields Editor -> DisplayFormat = 0.00,

everything works as expected, but after adding the event ExtEvents -> OnReconfigure DisplayFormat property stops working.

Can I fix it?

 

delphi 2007, Chrome 18 ... beta

 

Thank you.

 

When you write a custom renderer you need to handle all formatting tasks in your renderer method, because your renderer replaces the uniGUI default renderer.

Link to comment
Share on other sites

Why do you need client side coloring?

 

In Ehlib in ExtJS and the background color of rows in the grid can be rotated (white, grey, white ...),

would do the same in my project, but The Standard properties of the component UniDBGrid not found,

so started looking for a way to do it on the client side.

The users want to see the lines that have a different background, it is easier to see the information.

 

Maybe there's an easier way to do this?

post-475-0-86836800-1333543805_thumb.png

Link to comment
Share on other sites

We have StripeRows property.. It may not be much visible on LCD monitors. You can play with related CSS code in theme CSS file and make it more visible.

Set the StripeRows, coloring lines appeared slightly visible, but it's better than nothing.

Thank you for your help.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...