sudhir_optima
13 years agoContributor
How to drag fields to some position
We have Field tree which contan no of fields like
Revenue
Production
Sale
Product
Category.
We are selecting few field depending upon our requirement ( it may be with shift key or with control key) and droping it certain position.
But the available field may vary.So we have written a generic function in whihc we are mentioning the field whihc we want to drop.
We have written a sepreate function to select the field items and another for dropping it to certain position.For dropping the function writen accepts the four position (a,b,c,d) a,b is selected field position and c,d for dropped position.
But select field position may vary depending upon the selcted items. So here my question is how to find the x,y position ( here a,b) of the selected fields or how to move only selected items rather than passing their position ?
Revenue
Production
Sale
Product
Category.
We are selecting few field depending upon our requirement ( it may be with shift key or with control key) and droping it certain position.
But the available field may vary.So we have written a generic function in whihc we are mentioning the field whihc we want to drop.
We have written a sepreate function to select the field items and another for dropping it to certain position.For dropping the function writen accepts the four position (a,b,c,d) a,b is selected field position and c,d for dropped position.
But select field position may vary depending upon the selcted items. So here my question is how to find the x,y position ( here a,b) of the selected fields or how to move only selected items rather than passing their position ?