Okay
  Public Ticket #1087360
Report Builder table folumn filter problem
Closed

Comments

  •  4
    John started the conversation

    I have recently purchased and installed Report Builder, and I look forward to using it extensively.

    I have encountered a problem with the column filter functionality. In short, it returns no results. I have tried using selectbox and checkbox.

    Also, is there a way to add/delete columns from an existing Report Table?

  • [deleted] replied

    Hi John Johansen,
    Thank you for the purchase.

    Please send me a link of the table so I can take a look.

    Also, is there a way to add/delete columns from an existing Report Table?

    - Can you explain me this in more details? I didn't understand it clearly. Do you want to hide the column on the front-end or to exclude the column in the report?

  •   John replied privately
  •  4
    John replied

    Regarding the addition/deletion of existing report columns, I want to know how to do each of the following without having to start the design process from the beginning:

    1) If I want to add a new column to a report, do I need to manually modify the SQL to include the relevant field from the database table if that field was not included previously?

    2) If the SQL has already returned the required field, how do I add a column (not a formula) to the report format?

    3) How do I remove an existing column from the report format? Disable the 'visible' checkbox?

  • [deleted] replied

    Hi John Johansen,

    Regarding the adding/removing columns from the template, you are choosing what columns from wpDataTable will be included in the report by modifying Report Builder Template. In the template you have to define what will be rendered when you download the report. You can take a look at this link from our documentation how to create template from Report Builder. If there is no column in wpDataTable that you want to show in the report you'll have to first add that column in the wpDataTable and then to include it in the report.

    1) What is the best approach to sending a link to the page containing the table?

    If I understand this question clearly, you are asking what is the best way to show the link in the table? If that is the case please take a look at this link from our documentation for URL link columns. You'll have to set URL Link for Column Type for column that you want to be a link. As you see in the documentation Link should be formatted in this way:

    http://wpdatatables.com||wpDataTables

    Like that wpDataTables will be rendered in that cell and when you click on it it will lead you to the http://wpdatatables.com address. If you are using MySQL tables the best way to achieve this is to use CONCAT function to concat link and the text that will you use after two pipes ||.

    Hope this helps!  

  •   John replied privately
  • [deleted] replied

    Hi John Johansen,
    Thank you for the purchase.

    1. Yes you are right, you have to change MySQL query if you want to add/remove column from wpDataTable. If you already created wpDataTable it is recommended to create new wpDataTable and not to change the existing one.

    2. Sorry for misunderstanding. You can copy/paste link directly here in the ticket.