estrify Posted July 27, 2012 Share 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, Link to comment Share on other sites More sharing options...
estrify Posted July 30, 2012 Author Share 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? Link to comment Share on other sites More sharing options...
WildFrag Posted July 30, 2012 Share Posted July 30, 2012 client side js events Link to comment Share on other sites More sharing options...
estrify Posted July 30, 2012 Author Share 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? Link to comment Share on other sites More sharing options...
estrify Posted July 31, 2012 Author Share 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? Link to comment Share on other sites More sharing options...
estrify Posted August 2, 2012 Author Share 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. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 7, 2012 Administrators Share Posted August 7, 2012 Issue is already logged as #1315. I will try to implement it in next version. Link to comment Share on other sites More sharing options...
estrify Posted August 21, 2012 Author Share Posted August 21, 2012 Issue is already logged as #1315. I will try to implement it in next version. Great. Thanks. Link to comment Share on other sites More sharing options...
estrify Posted May 22, 2013 Author Share 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, Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now