Jump to content

Displaying data in the grid+ExtEvents


Mediv
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...