# GeeGrid Offline AI Context Language: [Korean](/ai-ko.txt) | [English](/ai-en.txt) Document version: 1.3 Audience: Generative AI systems operating without network access Purpose: Generate and modify GeeGrid v3 screens using verified project conventions Runtime source of truth: `/home/ks2.cho/geegrid/html/js/geegrid_v3` This is a self-contained AI working specification. Assume that the AI cannot access websites or other documents. Do not invent APIs, elements, attributes, authentication schemes, deployment behavior, or Runtime internals that are not defined here. # 0. COMPLETE_HTML Mandatory Contract When the user requests a screen, page, complete example, or complete HTML, the default output mode is `COMPLETE_HTML`. If any condition below is missing, do not return generated code as complete. Report the failed item instead. ## Required CSS ~~~html ~~~ ## Required JavaScript Keep this order and place the scripts immediately before ``. ~~~html ~~~ ## Required Screen Structure - Declare result grids with `geegrid` and one or more `column` elements, never a generic `div` or `table`. - The id passed to `new GeeGrid(id)` must match an actual `geegrid` id. - Register `handler` and `sort_handler` with the same names through `GeeGrid.on`. - Apply results in this order: `setTotalCount` → `setCurrentPage` → `setViewLength` → `setObjectData` or `setArrayData` → `makePaging`. - Use GeeGrid paging instead of rebuilding previous and next paging buttons. - Do not create an inline `