Here is an example: I have this table, say table # 1: firstname,lastname,age,DOB,gender oscar,castaneda,45,oct10,1972,male maria,castaneda,28,feb5,1990,female delia,castaneda,44,jan11,1972,female
So, I want one item in the column to become part of link. For instance the last column in the table, I want it to be a hyperlink that goes to http://www.mysite.com?gender=male or http://www.mysite.com?gender=female How can I set the column so that when I click on it, it takes me to that url You have an example in your website, but the website shows only one or three hand made hyperlinks. If table # 1 gets a new column and I do not know about it, then it will not have the hyperlink.
Then, if I can have that functionality, next question: Can I create a table that takes gender=male from the URL and displays a table where table # 1 shows but only gender=male You have an example but that is only filtering, where you use %VAR% but that is not as dynamic.
I like your plugin a lot. I understand if that functionality is not available. I will keep using it anyway.
Bogdan, What you suggest does not work for me. I already looked int it. http://wpdatatables.com/documentation/column-features/url-link-columns/ will create hard-coded links. In your example of url-link-columns, you show hard-coded links. What happens if that table changes. Perhaps because an user added data, or something like that. Read the example that I showed you yesterday. Suppose that table # 1 (in my example) is a user table, so it will change each time that a new user creates an account. How can I create the links then?
Sorry for misunderstanding. Unfortunately something like this example below is not possible to achieve with the plugin built in features at the moment. Dynamically change the links that will be related to the user or user ID after they are already created in the database is not possible.
Sorry for any inconvenience and thank you for understanding.
in wpTables can I take an argument from the URL and use it to render data in a table?
like http:www.mysite.com?color=red
and then render a table where color = red?
You have the topic pre-filtering tables through URL but that is not exactly the same
HI Oscar,
Thank you for your purchase.
As I understand you want to apply color on the table with the URL link?
Correct me if I am wrong.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
No. Is not about color.
Here is an example:
I have this table, say table # 1:
firstname,lastname,age,DOB,gender
oscar,castaneda,45,oct10,1972,male
maria,castaneda,28,feb5,1990,female
delia,castaneda,44,jan11,1972,female
So, I want one item in the column to become part of link.
For instance the last column in the table, I want it to be a hyperlink
that goes to http://www.mysite.com?gender=male or http://www.mysite.com?gender=female
How can I set the column so that when I click on it, it takes me to that url
You have an example in your website, but the website shows only one or three hand made hyperlinks.
If table # 1 gets a new column and I do not know about it, then it will not have the hyperlink.
Then, if I can have that functionality, next question:
Can I create a table that takes gender=male from the URL and displays a table where table # 1 shows but
only gender=male
You have an example but that is only filtering, where you use %VAR% but that is not as dynamic.
I like your plugin a lot. I understand if that functionality is not available. I will keep using it anyway.
HI Oscar,
If I understand you correctly you want to set last column to be URL link and when you click on it, the new page will appear with the desired URL.
If that is the case you can take a look at our documentation where you can see how you can make URL columns.
You can achieve that with the combination of “||” sing, more information in the link above.
Correct me If I am wrong.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Bogdan,
What you suggest does not work for me. I already looked int it.
http://wpdatatables.com/documentation/column-features/url-link-columns/
will create hard-coded links.
In your example of url-link-columns, you show hard-coded links.
What happens if that table changes. Perhaps because an user added data, or something like that.
Read the example that I showed you yesterday.
Suppose that table # 1 (in my example) is a user table, so it will change each time that a new user
creates an account. How can I create the links then?
HI Oscar,
Sorry for misunderstanding. Unfortunately something like this example below is not possible to achieve with the plugin built in features at the moment. Dynamically change the links that will be related to the user or user ID after they are already created in the database is not possible.
Sorry for any inconvenience and thank you for understanding.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I understand. I still think that wpTables is very good.
I still will use them.
Thanks for your quick response
oscar
HI Oscar,
Glad to hear that.
You are welcome.
If you have any more problems feel free to open a new ticket, we will gladly help.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables