estrify Posted July 27, 2012 Posted July 27, 2012 Hi, Is there a way to move TUniDBGrid's columns at runtime?. The problem is that the user can move columns in a Web Grid but when have to refresh the web grid, its columns return to those predefined in design time. Regards, Quote
estrify Posted July 30, 2012 Author Posted July 30, 2012 Hi, Is there a way to move TUniDBGrid's columns at runtime?. The problem is that the user can move columns in a Web Grid but when have to refresh the web grid, its columns return to those predefined in design time. Regards, Any idea? It is possible? Any suggestion to workaround? Quote
estrify Posted July 30, 2012 Author Posted July 30, 2012 client side js events ExtJS solves it perfectly with Oncolumnmove event and it is detectable within UniGUI using ajaxRequest. What I wish is to modify columns order inside UniGUI to maintain the component synchronized. It is not possible? Quote
estrify Posted July 31, 2012 Author Posted July 31, 2012 ExtJS solves it perfectly with Oncolumnmove event and it is detectable within UniGUI using ajaxRequest. What I wish is to modify columns order inside UniGUI to maintain the component synchronized. It is not possible? Furthermore, if you use only ExtJS client side code, UniGUI's events like OnDrawColumnCell doesn't run properly because its "Column" parameter will tell you a server side column (not moved) and not client side one (that has been moved). The same occurs with OnTitleClick event. Have I to resign to give up these two events because there is no way to move columns on server side???... If so, how could I disable column moving possibility? Quote
estrify Posted August 2, 2012 Author Posted August 2, 2012 Furthermore, if you use only ExtJS client side code, UniGUI's events like OnDrawColumnCell doesn't run properly because its "Column" parameter will tell you a server side column (not moved) and not client side one (that has been moved). The same occurs with OnTitleClick event. Have I to resign to give up these two events because there is no way to move columns on server side???... If so, how could I disable column moving possibility? Hi Farshad, It is possible to include a simple column movement at runtime to avoid the effect explained above (i.e. I tried a simple JS saving column model after detecting every movement and applying it when the grid need to be refreshed but events on server side doesn't inform correctly about the column clicked)? or tell me indications if there is a way to do with actual UniGUI version. Thx. Quote
Administrators Farshad Mohajeri Posted August 7, 2012 Administrators Posted August 7, 2012 Issue is already logged as #1315. I will try to implement it in next version. Quote
estrify Posted August 21, 2012 Author Posted August 21, 2012 Issue is already logged as #1315. I will try to implement it in next version. Great. Thanks. Quote
estrify Posted May 22, 2013 Author Posted May 22, 2013 Issue is already logged as #1315. I will try to implement it in next version. Hi Farshad, If it is possible, please try to fuss over this issue. Thanks and regards, Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.