| Support Center

(Back to Website)

Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Multiples Cols with diferent ID

adrian032 Jan 12, 2018 04:14PM PKT

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

Up 1 rated Down
Abu Ghufran Jan 13, 2018 09:21AM PKT PHP Grid - Support Center Engineer
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 {}

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Contact Us

  • Post a Public Question
  • Email Us
  • Live Chat!
  • Ask the Community

    Instructions

    • Paste complete code that is involved in your question. You can use pastebin.com to share code link.

    Screenshots or Online link of webpage is helpful in resolution. You can also send email at address mentioned below.

    • To report an issue, Write steps to regenerate the case.

    • For email support or live chat, Use gridphp@gmail.com and add it in Google Chat.
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete