[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eA TableColumn represents a column within a Google Slides table, comprised of a list of TableCells and identified by its column index.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can access and manipulate TableColumns using methods like getCell(), getIndex(), getNumCells(), getParentTable(), getWidth(), and remove().\u003c/p\u003e\n"],["\u003cp\u003eThese methods allow for retrieving specific cells, determining column index and size, identifying the parent table, and removing the column entirely.\u003c/p\u003e\n"],["\u003cp\u003eEach method requires specific authorization scopes, typically 'https://www.googleapis.com/auth/presentations.currentonly' or 'https://www.googleapis.com/auth/presentations', to interact with Google Slides presentations.\u003c/p\u003e\n"],["\u003cp\u003eRemoving a TableColumn with merged cells may remove common spanned columns and potentially the entire table if no columns remain.\u003c/p\u003e\n"]]],["A `TableColumn` represents a column in a table, composed of `TableCell`s, identified by its index. Key actions include retrieving a specific cell via `getCell(cellIndex)`, obtaining the column's index with `getIndex()`, and determining the number of cells using `getNumCells()`. Other methods include getting the parent table via `getParentTable()`, getting the column's width in points using `getWidth()`, and removing the column using `remove()`. Removal may lead to the deletion of the entire table.\n"],null,["TableColumn\n\nA column in a table. A column consists of a list of table cells. A column is identified by the\ncolumn index. \n\nMethods\n\n| Method | Return type | Brief description |\n|-----------------------------------------|-------------------------------------------------------|--------------------------------------------------|\n| [getCell(cellIndex)](#getCell(Integer)) | [TableCell](/apps-script/reference/slides/table-cell) | Returns the cell at the specified index. |\n| [getIndex()](#getIndex()) | `Integer` | Returns the 0-based index of the column. |\n| [getNumCells()](#getNumCells()) | `Integer` | Returns the number of cells in this column. |\n| [getParentTable()](#getParentTable()) | [Table](/apps-script/reference/slides/table) | Returns the table containing the current column. |\n| [getWidth()](#getWidth()) | `Number` | Returns the width of the column in points. |\n| [remove()](#remove()) | `void` | Removes the table column. |\n\nDetailed documentation \n\n`get``Cell(cellIndex)` \nReturns the cell at the specified index.\n\nParameters\n\n| Name | Type | Description |\n|---------------|-----------|--------------------------------------------|\n| `cell``Index` | `Integer` | The 0-based index of the cell to retrieve. |\n\nReturn\n\n\n[TableCell](/apps-script/reference/slides/table-cell)\n\nAuthorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`\n\n*** ** * ** ***\n\n`get``Index()` \nReturns the 0-based index of the column.\n\nReturn\n\n\n`Integer`\n\nAuthorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`\n\n*** ** * ** ***\n\n`get``Num``Cells()` \nReturns the number of cells in this column.\n\nReturn\n\n\n`Integer`\n\nAuthorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`\n\n*** ** * ** ***\n\n`get``Parent``Table()` \nReturns the table containing the current column.\n\nReturn\n\n\n[Table](/apps-script/reference/slides/table)\n\nAuthorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`\n\n*** ** * ** ***\n\n`get``Width()` \nReturns the width of the column in points.\n\nReturn\n\n\n`Number`\n\nAuthorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`\n\n*** ** * ** ***\n\n`remove()` \nRemoves the table column.\n\nIf all the cells in the column are merged with other columns, the common columns spanned by\nthese cells are removed.\n\nIf no columns remain in the table after this removal, the whole table is removed.\n\nAuthorization\n\nScripts that use this method require authorization with one or more of the following [scopes](/apps-script/concepts/scopes#setting_explicit_scopes):\n\n- `https://www.googleapis.com/auth/presentations.currentonly`\n- `https://www.googleapis.com/auth/presentations`"]]