<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
link
rel
=
"stylesheet"
href
=
"jqwidgets/styles/jqx.base.css"
type
=
"text/css"
/>
<
script
type
=
"text/javascript"
src
=
"scripts/jquery.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxcore.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxbuttons.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqxdockpanel.js"
>
</
script
>
<
script
type
=
"text/javascript"
src
=
"jqwidgets/jqx-all.js"
>
</
script
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color:green;"
>
GeeksforGeeks
</
h1
>
<
h3
>
jQWidgets jqxDockPanel lastchildfill Property
</
h3
>
<
div
id
=
'jqx_DockPanel'
>
<
div
style
=
'background: red;'
>
First</
div
>
<
div
style
=
'background: green;'
>
Second</
div
>
<
div
style
=
'background: yellow;'
>
Third</
div
>
<
div
style
=
'background: blue;'
>
Fourth</
div
>
</
div
>
<
input
type
=
"button"
style
=
"margin: 5px;"
id
=
"button_for_lastchildfill"
value
=
"Value of the lastchildfill property"
/>
<
div
id
=
"log"
></
div
>
<
script
type
=
"text/javascript"
>
$(document).ready(function () {
$("#jqx_DockPanel").jqxDockPanel({
width: 350,
height: 100,
disabled: true,
lastchildfill: true
});
$("#button_for_lastchildfill").jqxButton({
width: 350,
theme: 'energyblue'
});
$('#button_for_lastchildfill')
.jqxButton().click(function () {
var value_of_lastchildfill =
$('#jqx_DockPanel')
.jqxDockPanel('lastchildfill');
$("#log").html(value_of_lastchildfill);
})
});
</
script
>
</
center
>
</
body
>
</
html
>