j'ai cliqué sur ton lien ce qui va afficher et dans le code source j'ai collé ton code
buttonText: {ok: "1", yes: "2", no: "3", cancel: "4"},
ça donné ça
1 2 3 4 5 6 7 8
| Ext.Msg.show({
title: 'Question',
width:300,
msg: 'Voulez vous quoi savoir',
buttonText: {ok: "1", yes: "2", no: "3", cancel: "4"},
buttons: Ext.Msg.YESNOCANCEL,
icon: 'adf-icon',
fn: function(btn) { |
j'ai cliqué sur update et ça donne le bon résultat voici le html généré
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| <div id="messagebox-1001-toolbar-innerCt" class="x-box-inner " role="presentation" style="width: 324px; height: 22px; ">
<div id="messagebox-1001-toolbar-targetEl" style="position:absolute;width:20000px;left:0px;top:0px;height:1px">
<div id="button-1005" class="x-btn x-box-item x-toolbar-item x-btn-default-small x-noicon x-btn-noicon x-btn-default-small-noicon x-over x-btn-over x-btn-default-small-over over" style="border-width: 1px; left: 0px; margin: 0px; top: 0px; width: 75px; ">
<em id="button-1005-btnWrap">
<button id="button-1005-btnEl" type="button" class="x-btn-center" hidefocus="true" role="button" autocomplete="off" style="width: 69px; height: 16px; ">
<span id="button-1005-btnInnerEl" class="x-btn-inner" style="width: 69px; ">
1
</span>
<span id="button-1005-btnIconEl" class="x-btn-icon " style="">
</span>
</button>
</em>
</div>
<div id="button-1006" class="x-btn x-box-item x-toolbar-item x-btn-default-small x-noicon x-btn-noicon x-btn-default-small-noicon" style="border-width: 1px; left: 81px; margin: 0px; top: 0px; width: 75px; ">
<em id="button-1006-btnWrap">
<button id="button-1006-btnEl" type="button" class="x-btn-center" hidefocus="true" role="button" autocomplete="off" style="width: 69px; height: 16px; ">
<span id="button-1006-btnInnerEl" class="x-btn-inner" style="width: 69px; ">
2
</span>
<span id="button-1006-btnIconEl" class="x-btn-icon " style="">
</span>
</button>
</em>
</div>
<div id="button-1007" class="x-btn x-box-item x-toolbar-item x-btn-default-small x-noicon x-btn-noicon x-btn-default-small-noicon" style="border-width: 1px; left: 162px; margin: 0px; top: 0px; width: 75px; ">
<em id="button-1007-btnWrap">
<button id="button-1007-btnEl" type="button" class="x-btn-center" hidefocus="true" role="button" autocomplete="off" style="width: 69px; height: 16px; ">
<span id="button-1007-btnInnerEl" class="x-btn-inner" style="width: 69px; ">
3
</span>
<span id="button-1007-btnIconEl" class="x-btn-icon " style="">
</span>
</button>
</em>
</div>
<div id="button-1008" class="x-btn x-box-item x-toolbar-item x-btn-default-small x-noicon x-btn-noicon x-btn-default-small-noicon" style="border-width: 1px; left: 243px; margin: 0px; top: 0px; width: 75px; ">
<em id="button-1008-btnWrap">
<button id="button-1008-btnEl" type="button" class="x-btn-center" hidefocus="true" role="button" autocomplete="off" style="width: 69px; height: 16px; ">
<span id="button-1008-btnInnerEl" class="x-btn-inner" style="width: 69px; ">
4
</span>
<span id="button-1008-btnIconEl" class="x-btn-icon " style="">
</span>
</button>
</em>
</div>
</div>
</div> |
A+JYT
Partager