revealItem()
revealItem(
el,keyOrLabel):Promise<HTMLElement|null>
Defined in: js-api/src/u2core/inspect.ts:64
Brings an item of the control owning el into view by key or label (see Control.revealItem);
rejects naming the candidates when a label matches several.
Parameters
| Parameter | Type |
|---|---|
el | Element | null |
keyOrLabel | string |
Returns
Promise<HTMLElement | null>
Example
const row = await DG.U2.revealItem(el, 'Discovery');