angular-gridster2 icon indicating copy to clipboard operation
angular-gridster2 copied to clipboard

How to get rows and columns of a gridster

Open viethien opened this issue 5 years ago • 3 comments

Dear @tiberiuzuld ,

I am having a gridster2, is there any property to get cols and rows for current gridster?

Thanks

viethien avatar Jul 02 '19 07:07 viethien

I tried <gridster #dashboard> and use @ViewChild('dashboard') gridster: GridsterComponent; but this.gridster.rows and this.gridster.columns only show rows and columns having content.

viethien avatar Jul 02 '19 07:07 viethien

I'm interested by this information, I want to know from within a grid element, the number of row & column it has. Is this possible ? Did you find a solution to this ?

Tonio-lavanda avatar Feb 09 '21 11:02 Tonio-lavanda

+1. Wonder if there is a method that can tell the rows occupied with data

gs-akhan avatar Mar 25 '21 10:03 gs-akhan