简体   繁体   中英

ExtJS: how to make a custom modal window with MessageBox buttons?

I've already read this question and this question and this , but none of them answer to my question.

I'd like to show a modal custom dialog box where there's a grid filled with the result of an AJAX call (it's a grid filled with JSON records actually) and a button "Ok" and a button "Cancel".

Do you know an easy way, or just a sample to do this?

Thank you.

What do you mean by 'easy way'? You basically extended for example Ext.window.Window , add toolbars, grid whatever else you need. Then create a controller and load your grid with the data. What seems to be a problem?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM