|
Title: On-the-fly change datagrid view ¿is it possible? [SOLVED] Post by: Juan Antonio Martínez on May 21, 2015, 09:22:57 AM Hi all.
Is it posible to change on-the-fly a datagrid view?. That is: Code: function changeView(dg, alternateView) { If true, what's the way to initialize new view and reset to default one? Thanks in advance Title: Re: On-the-fly change datagrid view ¿is it possible? Post by: Juan Antonio Martínez on May 21, 2015, 12:51:34 PM OK. this works for me :-)
Code: function testAndSetView(dg,alternateView) {Some issues still persist: - how can I remove alternateView extra options when switching to default? - when setting new view, datagrid is automagically rendered with old and useless data... any way to avoid this behaviour |