bannzai / SpreadsheetView

Full configurable spreadsheet view user interfaces for iOS applications. With this framework, you can easily create complex layouts like schedule, gantt chart or timetable as if you are using Excel.
MIT License
3.52k stars 458 forks source link

Change Layout from left to right #273

Closed yasminmohsen closed 3 years ago

yasminmohsen commented 3 years ago

Expected Behavior

change the spreadsheet layout from left to right, I want to be able to tell spreadsheet to flip its layout from LTR to RTL and vice versa

Actual Behavior

when forcing parent layout to change from LTR to RTL ,all component in the view change except the spreadsheet is still LTR

Specifications

yasminmohsen commented 3 years ago

Solved

yasminmohsen commented 3 years ago

Solved using : //in viewDidLoad spreadSheetView.transform = CGAffineTransform(scaleX: -1.0, y: 1.0)

//in cellForItemAtIndexPath cell.transform = CGAffineTransform(scaleX: -1.0, y: 1.0)