• Hello! Fine?

    I want resize the table that we define in functions.php and its cells ( width and height) by default, not manually. Like change the css plugin. It is possible? Because my table have long texts. I know is possible resize manually, i want the table and its cells (columns and rows) more bigger, enlarge the width and height for all cells of the table.
    Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bobbysmith007

    (@bobbysmith007)

    You will have to look into the SlickGrid documentation. It is definitely possible to redefine column and row height and width from javascript. Simply add your own JS file to the screen after db-table-editor-js and manipulate the grid from there however you wish:

    
        wp_enqueue_script('admin-dbte-js', 
                          get_stylesheet_directory_uri().'/admin-dbte.js', Array('jquery', 'db-table-editor-js'));
    

    The JS Exposes DBTableEditor.grid and DBTableEditor.dataView (I believe — the console is your friend). From there you should have full customization control of the slick grid.

    Hope this helps!

    Plugin Author bobbysmith007

    (@bobbysmith007)

    Also, thanks for the good review! I hope this plugin continues to be useful for you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Resize width/height Table defined in functions.php and its cells on admin panel’ is closed to new replies.