Hi
I am using Ignite ui 2013, and i am facing one problem with column fixing feature in grid.
I am trying to use column fixing feature of grid but its not working for me its creating a pinup for me but i am not able to click on that or even its does not fix the column which i have mention at the time of initialization.
$.ig.loader(function () {
var BindData = {};
var BindData.features = [ { name: "Filtering", allowFiltering: true, type: "local" }, { name: "Resizing" }, { name: "Sorting" }, { name: "Selection", mode: "cell" }, { name: "ColumnFixing", columnSettings: [ { columnKey: "PRODUCT_DESCRIPTION", isFixed: true } ] }];
$("gridId").igGrid({ columns: options.columns, autoGenerateColumns: false, autoFormat: true, width : "100%", dataSource: options.data, features: BindData.features });
for column definition i am using
{ headerText: "Product", key: "PRODUCT_DESCRIPTION", dataType: number, format: "", formatter: valueFormater, width: 100px, hidden: false }
Please let me know if i am missing something.
Please help me on urgent basis
Thanks
Hi Vivek,
ColumnFixing doesn't support grid width set in percentages. Try to set the grid width to an absolute value.
Example code:$("gridId").igGrid({ columns: options.columns, autoGenerateColumns: false, autoFormat: true, width : "700px", dataSource: options.data, features: BindData.features });
Best regards,Martin PavlovInfragistics, Inc.
Hi Martin
Thanks for your quick help the solution you suggested worked for me, but can you please help me on this we are setting grid width intentionally to 100% for setting grid to complete page width is there any way to set grid width according user browser with or grid parent container width.
Once again thanks for your help.
Vivek
Hello Vivek,
Column Fixing is a CTP feature and integration with Column Resizing is not available in 13.1 release. Column Fixing will be released as RTM in 13.2 version.
In order to overcome the 100% issue you can use another empty element (for example DIV) which has 100% width. The idea is to take the actual width in pixels of the element with 100% width before creating the grid and use it to set the grid width on creation. Note that on browser window resize you should recalculate the width of the grid.
Thanks for Your help.
I am facing issue we are using infragistics grid cell click event but when i am fixing any column, for that columns' cell cellclick event is not getting triggered is there anything like we can not use cell click event for fixed column or is there any different way to do that
Please help me on that.
This is a known issue which will be fixed with the 13.2 release. That's because Column Fixing feature uses 2 tables one for fixed and one for unfixed columns. The fixed table don't get the cellclick event when it's created. To overcome this you should manually bind to the click event on the fixed table.
Here is an example code:
Hope this helps,Martin PavlovInfragistics, Inc.
for taking data and manuallt set from js but its not working..
please help me on this priority
vivek
hi martin
i need your small help i am trying to implement row selected with check box grid feature but i am facing one problem.
ehenever i select some row in grid by cjeckboxes and then filter the eow or sort the grid on some colum i am loosing the all selected checkboxes state and going to off state.
can we do something like that even user filter thr grid the cirrent stay of check box should not loose. even i have tried the gridrerender event asbwell s grid row select event forbtsking
Thanks Martin
thats workout for me......
The 13.2 release will be out sometime in the Autumn.
You can try to remove the grid DOM placeholder after you destroy the grid and re-append it again on grid recreation.
HI Martin
Once again i am facing one problem with column fixing in one scenario i am dynamically adding a column to grid for that i am using grid destroy method with the help of destroy i am destroying the grid and re rendering the grid with desired column this works fine without column fixing features but as soon as put column fixing features grid is not rendering properly as well as i am not able to see my grid in chrome browser.
In fact i have tried
$("#grid1_fixed").igGrid("destroy");
$("#grid1").igGridColumnFixing("destroy");
but nothing workout for me can you suggest something which will solve my problem.
Our client need this column fixing feature you have any idea upto when infargistic ignite ui 13.2 is going to release with column fixing feature.