Base solution for your next web application
Open Closed

HowTo: Angular Grid Column (Resizable) #1527


User avatar
0
richardlcy created

Hi all,

I need a help as mentioned in the subject above. Although I have set the column to: resizable: true, but how come the column still not being able to resizable? How to allow/enable the grid column so that it is resizable? Urgent help is needed on this part, really appreciate if someone can help.

Thanks Richard


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You should inject 'ui.grid.resizeColumns' in app.js, it is not injected by default.

    var appModule = angular.module("app", [ "ui.router", "ui.bootstrap", 'ui.utils', "ui.jq", 'ui.grid', 'ui.grid.pagination', 'ui.grid.resizeColumns' "oc.lazyLoad", "ngSanitize", 'angularFileUpload', 'daterangepicker', 'angularMoment', 'frapontillo.bootstrap-switch', 'abp' ]);

    Please see <a class="postlink" href="http://ui-grid.info/docs/#/tutorial/204_column_resizing">http://ui-grid.info/docs/#/tutorial/204_column_resizing</a>