Promotic
WikipediaLinkedInYoutubeTwitterFacebook

onSelChange - event of the PmfTable object

Description:
The event is triggered when another row or cell is selected.
Parameters:
ev.SrcObject(Object) Pmf object where the event originated.
Note:
This event is is functional only in JavaScript language.
Example:
Creates the PmfTable object (e.g. in the onFormLoad event of the PmgForm object).

The function is registered into the onSelChange event.

JavaScriptSelect and copy to clipboard

var oForm = pMe.Form;
var oTable = oForm.CreateItem("table", "id_tab1");
oTable.InitRows(5, 1, 1);
oTable.InitCols(6, 1);
//... Various table settings

oTable.AddEvent("onSelChange", function(ev) { Pm.Debug("Select Row = " + oTable.GetSel(0).Row); });
PROMOTIC 9.0.13 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice