Multiples Cols with diferent ID

QuestionsMultiples Cols with diferent ID
adrian032 asked 6 years ago

hi, in my grid I have some related tables, so I was asking if you could put different ids to each column.Because i need to create a Hiperlink for any column. Thanks and sorry for my English

1 Answers
Abu Ghufran answered 6 years ago

Hello,

You can specify each column configuration using:
http://www.phpgrid.org/docs/#Selecting_Specific_Columns

And to make link you can set:
$col["link"] = "http://google.com/?id={client_id}";
$col["linkoptions"] = "target='_blank'"; // extra params with <a> tag

Where client_id is column name to replace placeholder {}

Your Answer

18 + 11 =

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?