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
1930
Urgent! Resizing columns dinamically not working in Chrome!
posted

Hi

in my MVC3 application i'm using igGrid. I'm resizing columns dinamically in this way

$(gridSelector).igGridResizing("resize", index, newWidth);

I use 'index' as number , or key as string. 'newWidth' is a Number.

In Chrome and i get this error 'Uncaught TypeError: Cannot read property 'style' of undefined ' in file infragistics.ui.grid.resizing.js in the following instruction (i written it in bold) :

j=p.length, o=p[f].style.widthn=/%$/.test(o)

Int the scope the 'p' member is length 0 and 'f' is equal/greater than 0, so it can't work.

It work fine in FireFox and IE9, i noticed it gave me same error one or two times but deleting cache etc. in IE it work fine now. Tried the same in Chrome but nothing.

Parents
No Data
Reply
  • 24671
    posted

    Hi,

    could you post some code snippets, the way you initialize the grid, in particular? Which version are you using? The same code seems to work fine in this online sample:

    http://ko.infragistics.com/products/jquery/sample/grid/resizing-columns-programmatically

    (change the values in the input boxes before clicking on "Apply Changes").

    Thanks,

    Angel

Children