How to Search on Formula Fields

QuestionsHow to Search on Formula Fields
Faisal Ayub asked 7 months ago

Hi I am unable to search on Formula Field.

View post on imgur.com

Isn’t that possible?

1 Answers
Abu answered 7 months ago

Hi,

Searching currently not doable on non-database field. It’s doable when you make (non-db) array based grid 

If in database driven grid, there is some field which uses database function, e.g. “SELECT concat(firstname,lastname) as fullname…” then you need to set ‘dbname’ property with that column.

$col["name"] = "fullname";
$col["dbname"] = "concat(firstname,lastname)";

 

Your Answer

16 + 9 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?