jQuery UI Widgets › Forums › Grid › Totaling the column widths
Tagged: angular grid, calculate, get column width, getcolumnproperty, grid, jquery grid, jqxgrid, ready, rendered, width
This topic contains 2 replies, has 2 voices, and was last updated by Joe Weinpert 8 years, 1 month ago.
It would be nice to have a variable that holds the sum of all the column widths immediately following the rendering of the grid . How can this be done?
Hello Joe Weinpert,
In the grid’s ready callback, you can get the width of each column with the method getcolumnproperty and then calculate the sum.
That is the grid attribute I was looking for. Thanks!
You must be logged in to reply to this topic.