Jump to content

DBGrid : how to visually format field content without altering underlying dataset values ?


Recommended Posts



I wish to enhance the rendering of my dbgrid : applying some visual formatting

without using editor ! Actually the editing options is set to false !


So for instance we deal with national security number and I wish that the shown

values in the grid have the following format : '99-99-9999-999-99'.

Where 9 stands for any number.


I can't use today the StringGrid ! Any other idea ? Thanks



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.

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.

  • Create New...