A trolley of a crane, arranged to move along a main support structure of the crane, whereby the trolley (1; 100; 200; 300; 400) comprises a support frame structure (3; 103; 203; 303; 403); bearing wheels which are fastened to the support frame structure and by means of which the trolley is arranged to move along said main support structure; a hoisting mechanism that has a rope drum for a hoisting rope , a rope pulley arrangement which has upper and lower rope pulley arrangements and through which the hoisting rope may be guided from the rope drum to a fixed fastening point (X) on the trolley, and a hoisting member in cooperation with the hoisting rope for hoisting a load, whereby the rope drum is supported to the support frame structure of the trolley so that the axle of the rope drum is parallel to the main support structure; and the rope pulley arrangement is located, in the axial direction of the rope drum , at least partly outside the rope drum end which is on the side of said fastening point (X); characterised in that the support frame structure (3; 103; 203; 303; 403) is divided into two separate frame parts, that is, a first frame part (3a; 103a; 203a; 303a; 403a) and a second frame part (3b; 103b; 203b; 303b; 403b), whereby the first frame part supports the rope pulley arrangement and the rope drum end on the side thereof, and whereby the second frame part supports the opposite end of the rope drum; and between the first frame part (3a; 103a; 203a; 303a; 403a) and the second frame part (3b; 103b; 203b; 303b; 403b), a pivoted joint is arranged, which allows the first and second frame part to move relative to each other around the vertical and horizontal axis and the longitudinal axis (18a; 18b) of the first and second frame part. a support frame structure (3; 103; 203; 303; 403); bearing wheels which are fastened to the support frame structure and by means of which the trolley is arranged to move along said main support structure; a hoisting mechanism that has a rope drum for a hoisting rope , a rope pulley arrangement which has upper and lower rope pulley arrangements and through which the hoisting rope may be guided from the rope drum to a fixed fastening point (X) on the trolley, and a hoisting member in cooperation with the hoisting rope for hoisting a load, whereby the rope drum is supported to the support frame structure of the trolley so that the axle of the rope drum is parallel to the main support structure; and the rope pulley arrangement is located, in the axial direction of the rope drum , at least partly outside the rope drum end which is on the side of said fastening point (X); characterised in that the support frame structure (3; 103; 203; 303; 403) is divided into two separate frame parts, that is, a first frame part (3a; 103a; 203a; 303a; 403a) and a second frame part (3b; 103b; 203b; 303b; 403b), whereby the first frame part supports the rope pulley arrangement and the rope drum end on the side thereof, and whereby the second frame part supports the opposite end of the rope drum; and between the first frame part (3a; 103a; 203a; 303a; 403a) and the second frame part (3b; 103b; 203b; 303b; 403b), a pivoted joint is arranged, which allows the first and second frame part to move relative to each other around the vertical and horizontal axis and the longitudinal axis (18a; 18b) of the first and second frame part. <EOS>