title: How to equally set the column width in JavaFX table using Scene Builder?
body: <p>I am building a table in Java Fx using Scene Builder. The parent of the table is a Grid Pane. Normally I use computed size to the row's, the column's Min width, Pref Width and Max width to equally adjust the space among the components inside of the grid. And I use Hgrow accordingly to my required use. But the computed size cannot be set to adjust the space between columns in the table as the column would disappear when set. Only a fixed size can be applied to adjust the columns. But space is not evenly adjusted automatically when a fixed size is applied. How do I set computed size to evenly distribute the space in the columns inside the table? </p>
  
  <pre><code> &lt;GridPane style="-fx-background-color: #fff;" GridPane.columnSpan="3" GridPane.rowIndex="1"&gt;
        &lt;columnConstraints&gt;
            &lt;ColumnConstraints halignment="CENTER" hgrow="ALWAYS" /&gt;
            &lt;/columnConstraints&gt;
                 &lt;rowConstraints&gt;
                   &lt;RowConstraints vgrow="ALWAYS" /&gt;
                   &lt;/rowConstraints&gt;
                      &lt;GridPane.margin&gt;
                         &lt;Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /&gt;
                       &lt;/GridPane.margin&gt;
                             &lt;children&gt;
                                &lt;TableView fx:id="TB_CourseTable" prefHeight="200.0" prefWidth="200.0"&gt;
                                  &lt;columns&gt;
                                      &lt;TableColumn fx:id="TC_SchoolID" prefWidth="75.0" text="SCHOOL ID" /&gt;
                                    &lt;TableColumn fx:id="TC_ID" maxWidth="1.7976931348623157E308" minWidth="-Infinity" prefWidth="51.0" text="ID" /&gt;
                                      &lt;TableColumn fx:id="TC_Session" minWidth="0.0" prefWidth="103.0" text="SESSION" /&gt;
                                    &lt;TableColumn fx:id="TC_CourseCategory" maxWidth="1.7976931348623157E308" minWidth="-1.0" prefWidth="149.0" text="COURSE CATEGORY" /&gt;
                                      &lt;TableColumn fx:id="TC_CourseName" maxWidth="1.7976931348623157E308" minWidth="-1.0" prefWidth="200.0" text="COURSE NAME" /&gt;
                                      &lt;TableColumn fx:id="TC_Year" prefWidth="75.0" text="YEAR" /&gt;
                                      &lt;TableColumn fx:id="TC_StartDate" maxWidth="1.7976931348623157E308" minWidth="-1.0" prefWidth="152.0" text="START DATE" /&gt;
                                      &lt;TableColumn fx:id="TC_EndDate" maxWidth="1.7976931348623157E308" minWidth="-1.0" prefWidth="152.0" text="END DATE" /&gt;
                                      &lt;TableColumn fx:id="TC_IsActive" maxWidth="1.7976931348623157E308" minWidth="-1.0" prefWidth="117.0" text="IS ACTIVE" /&gt;
                                  &lt;/columns&gt;
                                &lt;/TableView&gt;
                             &lt;/children&gt;
                          &lt;/GridPane&gt;
  </code></pre>