Example :

buttons : [
{
text : ' close ',
handler : function() {
parent.$.modalDialog.handler.dialog('close');
}
},{
text : ' preservation ',
handler : function() {
parent.$.modalDialog.openner_dataGrid = dataGrid;
var f = parent.$.modalDialog.handler.find('#form');
f.submit();
}
}

Hide operation code :

onOpen:function(){
// When the pop-up window is opened, hide the buttons that need to be hidden according to the actual conditions , The hidden button code is as follows :
if( (Id == null ){
parent.$('.dialog-button a:eq(0)').hide();// Hide the close button
}else{
parent.$('.dialog-button a:eq(1)').hide();// Hide save button
}



}

hide Easy UI in parent.$.modalDialog Of button More articles about

  1. jquery easy ui 1.3.4 Button (button)(6)

    6.1.linkbutton linkbutton Is the one <a> The label is packaged as a display image . written words . The hyperlink button for How to give linkbutton Add an event ? Use JQ You can give linkbutt ...

  2. Get along well with Web And Json( One )-----easy ui+ajax + json About China Json The analytic problem of

    stay easy ui Use in Ajax+Json When realizing the data interaction before and after , When the background data is transferred to the client, it is necessary to Json Data analysis , Here will be right Json Data analysis to make a simple summary . ( One ) For the data returned by the server, if there is no type description , need ...

  3. jQuery Easy UI Development Notes

    1.jQuery Easy UI The main operation principle is to call plug-ins through the core code UI The effect of 2.jQuery Easy UI The relationship between plug-ins is : One . Stand alone plug-ins : Stand alone plug-ins are : Not compatible with other plug-ins ...

  4. jquery ui Medium dialog, Classic examples on the official website

    jquery ui Medium dialog, Classic examples on the official website   jquery ui in dialog and easy ui Medium dialog It's like , But I have no impression when I use it recently , I don't need to forget for a while , This essay introduces ...

  5. ASP.MVC EASY UI Introduction —— Tree &amp; ComboTree

    1. The conventional EASY UI Of tree and comboTree The code is basically official DEMO All have , Although it's very simple , But we still need to do it in practice , To understand and use it more clearly ! First on the renderings Because it uses code first, So the data ...

  6. easy ui Drop down box binding data select Control

    easy ui The drop-down box control in is called select, The specific code is as follows : html Code :①. This is a company level drop-down box <tr> <td> Company level :</td> <td&g ...

  7. Get along well with Web And easyui( One )-----easy ui datagird Pagination

    easy ui In fact, the paging of data table is very simple , Pagination is based on the normal display of data in the data table , Give here servlet Code for , among selectAll() The way is to extract all the data from the database , A way of thinking about pagination ...

  8. Give Way Easy UI Of DataGrid Directly embedded JSON object , And rewrite form load Method

    Preface I have this JSON object { "UserName": "jf", "UserPwd": "123456", &quo ...

  9. jQuery Easy UI LinkButton(button) package

    LinkButton(button) package ,easyui One of the basic components Demo sample : <!DOCTYPE html> <html> <head> <title ...

Random recommendation

  1. SQL SERVER How to manage jobs with scripts in

    stay SQL SERVER Using scripts to manage jobs , In most scenarios , Scripts are better than UI Interface management should be efficient . concise . Let's make a simple analogy , If you want to see how long the job runs , If you use UI Interface view ,100 Homework , You have to look it up in the history at least ...

  2. Integration of jquery.imgareaselect Realize the local preview and selection of the image capture

    imgAreaSelect  By  Michal Wojciechowski Development of a very easy to use jquery plug-in unit , The image capture function is realized . Its documentation and Demo It's also very detailed . You can go to http://odynie ...

  3. N The number of permutation algorithm

    #include <stdio.h> int n = 0; // Exchange two numbers void swap(int *a, int *b) { int m; m = *a; *a = *b; *b = ...

  4. BZOJ3838 : [Pa2013]Raper

    Will be selected $A$ Think of it as a left bracket ,$B$ Think of it as a right parenthesis , So the answer is a legal sequence of parentheses . So just repeat it $k$ Right and left brackets for the smallest value , Make sure that every moment is a legal sequence of parentheses . take $($ as $1$,$)$ as $-1$ ...

  5. 《Linux/Unix System programming manual 》 Reading notes 1

    <Linux/Unix System programming manual > Reading notes Catalog I've been watching for the last month <Linux/Unix System programming manual >, I'm learning about Linux System programming based on MATLAB . Learn before Linux I was going to write about L ...

  6. linux How to deal with the middle section error

    stay Linux Do it in the environment C Language project , Because it is a secondary development based on an original project , And the project is huge and complex , There are many problems , Most of them . The problem that takes the longest is the famous “ Segment error ”(Segmentation Fau ...

  7. Lucene.Net 2.3.1 Development Introduction —— Two 、 participle ( 3、 ... and )

    original text :Lucene.Net 2.3.1 Development Introduction -- Two . participle ( 3、 ... and ) 1.3 Word segmentation structure 1.3.1 The whole structure of word participator from 1.2 Section analysis , Finally, we got a glimpse , Now in Lucene.Net Add a class pass to the project ...

  8. Activiti workflow ( One ) The basic operation of

    The concept of workflow : workflow (Workflow), Namely " Automation of a part or whole of a business process in a computer application environment ", Its main solution is " Enables documents to be passed between multiple participants according to some predefined rules . Information or ...

  9. Java - byte[] and String Interconversion

    Learn through use cases Java Medium byte Array and String Interconversion , This kind of transformation may need in many cases , such as IO operation , Generate encryption hash Code and so on . Unless you think it's necessary , Otherwise, don't convert them to each other , They represent different data , Specialized services ...

  10. Spring MVC File download

    Looking at Spring MVC Please read before downloading the file Spring MVC Upload files Address :http://www.cnblogs.com/dj-blog/p/7535101.html It's easy to download files , In hyperlinks, it means ...