We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be handy if this were a function of dialogFactory, to which you only had to specify an endpoint, similar to FormBuilder dialogs.
dialogFactory
ref #5990
The text was updated successfully, but these errors were encountered:
usingGridView()
GridViewSetup
fromGridView()
interface ResponseGridView { gridView: string; } export class GridViewSetup { async fromGridView(title: string, gridViewClass: string, pageNo: number = 1, sortField: string = "", sortOrder: string = "ASC", filters?: Map<string, string>, gridViewParameters?: Map<string, string>): Promise<WoltlabCoreDialog> { const url = `${window.WSC_RPC_API_URL}core/grid-views/render`; // append the parameters to the URL const json = (await prepareRequest(url).get().fetchAsJson()) as ResponseGridView; const dialog = dialogFactory().fromHtml(json.gridView).withoutControls(); dialog.show(title); return dialog; } }
title
getRows()
GetGridView
GetRows
GetRowsParameters
gridView
AbstractGridView::render()
JsonResponse
Sorry, something went wrong.
Cyperghost
No branches or pull requests
It would be handy if this were a function of
dialogFactory
, to which you only had to specify an endpoint, similar to FormBuilder dialogs.ref #5990
The text was updated successfully, but these errors were encountered: