Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts

  • JSt
    Participant

    Thanks for your fast help.


    JSt
    Participant

    Hi,
    is it now possible to start with Monday instead of Sunday?

    Best wishes
    Jürgen

    in reply to: Disable input in jqxform Disable input in jqxform #106268

    JSt
    Participant

    Hi,
    I tried the same=> disable an input but during runtime.
    I change in the html the autoopen to false

    
    <jqxWindow #tenantsDialogRef [autoOpen]=false [theme]="'material'" [resizable]="false" [width]="450" [height]="550">
    	<div #windowHeader>Add new tenant</div>
    	<div style="overflow: hidden;" #windowContent>
    		<jqxForm #fillTenantDataForm 
    			[width]='450' 
    			[height]="'auto'" 
    			[template]='template'>
    		</jqxForm>
    	</div>
    
    </jqxWindow>
    

    and I open this window after a button press

    
    private addNewTenant() {
    
    	console.log(<code>TenantsComponent.addNewTenant(..) called</code>);
    
    	let input = this.fillTenantDataForm.getComponentByName('firstname');
    	input.jqxInput({ disabled: true });
    
    	this.tenantsDialogRef.open()
    }
    

    If I use the code above, the field is still enbled.

    If I change autoopen=true and the change the disable parameter in ngAfterViewInit(..) the field is disabled.
    Any hint for me?

    Regards
    Jürgen

    • This reply was modified 1 year, 9 months ago by  JSt.
Viewing 3 posts - 1 through 3 (of 3 total)