switch
formatter: Table.api.formatter.toggle
Controller transfer value to JS
Send: $this->assignconfig('type', $AdminID);
Receive: Config.type
Limit the number of image uploads
data-maxcount = 10
Limit the maximum number of inputs
maxlength=“800”
Pick a point on the map
data-toggle=“addresspicker” data-input-id=“c-address” data-lat-id=“c-lng” data-lng-id=“c-lat”
Multiple selection from the drop-down box
data-multiple=“true”
Turn off universal search
operate:false
The operator of the general search query,
operate:'=', the default is =, false means that the general search
support for this field is disabled ! =, LIKE, NOT LIKE, >, <, >=<=, FIND_IN_SET, IN, NOT IN , BETWEEN, NOT BETWEEN, RANGE, NOT RANGE, NULL, NOT NULL, false
Control JS display and hide
if(Config.type){
stvisible = false;
}
js添加visible: stvisible