gradio/js/dataframe
Gradio PR Bot 207ae11a21
chore: update versions (#9637)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-11 17:04:13 +01:00
..
shared Fix retry and undo reactivity in gr.Chatbot (#9614) 2024-10-09 09:33:10 -07:00
CHANGELOG.md chore: update versions (#9637) 2024-10-11 17:04:13 +01:00
Dataframe.stories.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
Example.svelte Allows updating the dataset of a gr.Examples (#8745) 2024-07-15 09:19:52 -07:00
Index.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
package.json chore: update versions (#9637) 2024-10-11 17:04:13 +01:00
README.md Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528) 2024-02-26 13:01:00 -08:00

@gradio/dataframe

<script>
    import { BaseDataFrame, BaseExample } from "@gradio/dataframe";
</script>

BaseDataFrame

	export let datatype: Datatype | Datatype[];
	export let label: string | null = null;
	export let headers: Headers = [];
	let values: (string | number)[][];
	export let value: { data: Data; headers: Headers; metadata: Metadata } | null;
	export let col_count: [number, "fixed" | "dynamic"];
	export let row_count: [number, "fixed" | "dynamic"];
	export let latex_delimiters: {
		left: string;
		right: string;
		display: boolean;
	}[];

	export let editable = true;
	export let wrap = false;
	export let root: string;
	export let i18n: I18nFormatter;

	export let height = 500;
	export let line_breaks = true;
	export let column_widths: string[] = [];

BaseExample

	export let gradio: Gradio;
	export let value: (string | number)[][] | string;
	export let type: "gallery" | "table";
	export let selected = false;
	export let index: number;