pub fn SqlResultTable(props: SqlResultTableProps) -> impl IntoViewExpand description
渲染 SQL 查询结果表格。
Props:
result:后端返回的结果集(列名 + 每格 JSON 值)。initial_expanded:初始展开的行索引,缺省全部收起(图鉴预览用)。
一次只允许展开一行(expanded_row 信号记录行索引);点击已展开的行收起。
§Required Props
result:SqlResult
§Optional Props
initial_expanded:impl Into<MaybeProp<usize>>