Avatar of SameerMirza
SameerMirzaFlag for United Kingdom of Great Britain and Northern Ireland asked on

Extjs HELP

Hi,
Does any one here use Extjs. :) I just need a little help.
Using Ext JS library when you define a panel ext.panal,
How would you import a page to it rather then using the variable ? i.e somthingl ike 'html: html.join('')'
It will be great ifd some one could help

Thanks
Microsoft SQL ServerJScript

Avatar of undefined
Last Comment
SameerMirza

8/22/2022 - Mon
Rob

What code do you have at the moment.  they have great examples on their site on how to use panels

http://dev.sencha.com/deploy/dev/examples/panel/panels.html


/*!
 * Ext JS Library 3.3.0
 * Copyright(c) 2006-2010 Ext JS, Inc.
 * licensing@extjs.com
 * http://www.extjs.com/license
 */
Ext.onReady(function(){
    var p = new Ext.Panel({
        title: 'My Panel',
        collapsible:true,
        renderTo: 'panel-basic',
        width:400,
        html: Ext.example.bogusMarkup
    });

	// preventBodyReset: true
	new Ext.Panel({
		title: 'A Panel with W3C-suggested body-html styling',
		preventBodyReset: true,
		renderTo: 'panel-reset-true',
		width: 400,
		html: html.join('')
	});

	// preventBodyReset: false
	new Ext.Panel({
		title: 'Same panel as above with preventBodyReset: false',
		normal: false,
		renderTo: 'panel-reset-false',
		width: 400,
		html: html.join('')
	});
});

// Some sample html
var html = [
	'<h1>Heading One</h1>',
	'<h2>Heading Two</h2>',
	'<p>This is a paragraph with <strong>STRONG</strong>, <em>EMPHASIS</em> and a <a href="#">Link</a></p>',
	'<table>',
		'<tr>',
			'<td>Table Column One</td>',
			'<td>Table Column Two</td>',
		'</tr>',
	'</table>',
	'<ul>',
		'<li>Un-ordered List-item One</li>',
		'<li>Un-ordered List-item One</li>',
	'</ul>',
	'<ol>',
		'<li>Ordered List-item One</li>',
		'<li>Ordered List-item Two</li>',
	'</ol>',
	'<blockquote>This is a blockquote</blockquote>'
];

Open in new window

ASKER
SameerMirza

Exactly :)
Problem is that I cant 'Register' to their forums so looking for a member here.
Please confirm if you are a member!!

I was looking for a solution to the stateful potal (based on google like divs) and apparently they have it already.
I can search for it in the forums but because there is problem or delibrate issue with their forum that you cant register.

It will be *VERY* helpful if someone could help me out with it.

Thanks.
Rob

So you have gone to this link for registering and it didn't work?

http://www.sencha.com/forum/register.php
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER
SameerMirza

Well the image varification was blocked at ky workplace but I did worked my way aorund
Problem is that no one helps you there unless you are a premier member.
Which is pointless because the exmaples they have provided or what they are asking me buy doesnt save the sate and cost you $500.
Rob

So you haven't found a similar issue in their forums you could post?
ASKER
SameerMirza

no
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
lyhan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
SameerMirza

thx