Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Checkbox Column Fixing
posted

Hi,

I am using iggrid in my web application,i enable renderCheckboxes: true and  i need to fix check box column.

Please suggest me how to fix the check box column in iggrid .

Thank You

Kiran

Parents
  • 16310
    Offline posted

    Hello Kiran,

    You have to enable the ColumnFixing feature of the grid. When the feature is enabled, column can be fixed by users by default. You can enable it like this:

    $("#grid").igGrid({
        renderCheckBoxes: true,
        features : [{
            name : "ColumnFixing"
        }]
    });

    If you want the column to be fixed when the grid is loaded you shoul set the isFixed option to true, and to disable the users from fixing the column you set the allowFixing option to False:

      $("#grid").igGrid({
        renderCheckBoxes: true,
        features : [{
            name : "ColumnFixing",

            columnSettings: [{
                    columnKey: "Name",
                    allowFixing: false,
                    isFixed: true
                }]
      });

    For detailed info you can refer to the API reference at http://help.infragistics.com/jQuery/2014.1/ui.iggridcolumnfixing and to the Column Fixing sample at http://www.igniteui.com/grid/column-fixing

Reply Children