Jump to content

dbgrid


Pink-El

Recommended Posts

I found that I can to use html as a field`s value and grid`s column will show html result. Very good idea. I can prepare my custom view in query with html for the grid.  How I can insert picture in this code from other field?

Thank you  

Link to comment
Share on other sites

Hi Dmytro Lendel.
 
You can clarify the issue?
 
If I understand correctly, you want to merge two fields.
 
I think it can be done in the request (you can use stored procedures), and using the function reconfigure (sender, store, columns, oldStore, the, eOpts) in the grid.
 
I'm sorry if I misunderstood ...

 

Sincerely.
Link to comment
Share on other sites

Idea is very sipmple

 

Simple query

Select idkey,text from mytable

 

html query

Select '<p>'||cast(idkey as varchar(10))||'</p><p>'||text||'</p>'  as html_info from mytable

 

I can use any html tag and grid will show it correctly. Very nice.

Question was about image. I can use img tag but I need load pict from db filed not from file.

Link to comment
Share on other sites

Thank you

I saw this demo. I can set some properties of the column and it starts to show image. It`s true. But in my case I need join values from the fields in the single field by html. Source code of the lib is hidden. How I can check it?

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...