Jump to content

Recommended Posts

Posted

For a better management of the string format of the field .. I ask you if it is possible to have this modification

function TUniCustomDBGrid.GetCellData(const ColNo: Integer; var HasAttr: Boolean): TUniCellRecord;
...
     else
      begin
//        if Assigned(AField.OnGetText) then
        if wColumn.ForceStringFormat then 
        begin
          if RawData then
            rValue := StrToJS(AField.DisplayText)
          else
            S := StrToJS(AField.DisplayText);
        end
        else
        begin

to change  " if Assigned(AField.OnGetText) then" in   " if wColumn.ForceStringFormat then " for me it's important
Grazie

Posted
4 minutes ago, gerardocrisci said:

For a better management of the string format of the field .. I ask you if it is possible to have this modification

Hello,

You should send a request to the support portal...

  • Administrators
Posted
6 minutes ago, gerardocrisci said:

this is an old discourse:

http://jira.fmsoft.net/servicedesk/customer/portal/4/FSD-568

however I added this post 

... but ... give me an answer ...
I hope not to wait ... two years .. since 2018 has been reopened and I have not had an answer.

This ticket is already reviewed and replied. I think we have a disagreement regarding how OnGetText() works.

Posted
19 minutes ago, Farshad Mohajeri said:

This ticket is already reviewed and replied.

Initially I asked to consider OnGetText () for cell formatting ...
later .. you created the ForceStringFormat property ..
Now I don't understand why at that point
.. there is a check on OnGetText and not on ForceStringFormat.

The right check would be to check if the Field has a DisplayFormat set ... but I can do this with an override for GetForceStringFormat.

I would like to give suggestions ...
if you don't want them ...
thanks anyway.

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.

×
×
  • Create New...