Access data translation from the database from table builder
In v2 I was able to get the JSON data ( [ "en": "english title" , "ar" : "arabic title "] ) from the database in table builder as the pic shows but now this way doesn't work (still works for form builder), anyone knows the problem with v3?
16 Replies
Can you explain what doesn't work about it?
it doesn't get the data
it shows only the first title
I guess the problem is with the dot notation , but in V2 I used it and it was working perfectly
I would love to know if there is an alternative way to do so
Try to comment format state
Or try to use text column make just name. And then use format state
yah I tried both but still not working
try to dump data
how
or
I tried that and the data accessed as it should but I cant render it on the table that's the problem, I couldn't call the 'name' column twice.
so in v2, I was calling 'name.ar' and 'name.en' which brings me both data perfectly
Provide a dump data
I did it with different resource , i have the problem everywhere 🤣
One moment
Yeah. That`s work for me
Try this code.
And you can remove formatStateUsing
thanks!! it worked
but can I know the difference between formatStataeUsing and State?