Tag:Current page
-
Yii2 method of remaining on the current page after addition, deletion, modification and query
preface After the operation of adding, deleting, modifying and checking is successful, it still remains on the current page, which can give users a good experience. However, the yii2 framework itself does not have the effect of remaining on the current page after the addition, deletion, modification and query operation is successful. To achieve such […]
-
The product manager is unrestrained, and the form components can deal with it freely
The front-end table component is probably the most frequently used component in the PC side, and it is also the component that product managers (generally also deal with UE and ex) can toss about most.It’s a blessing and a curse. After many years of trials and tribulations, the form component has become the only technical […]
-
Handwriting a simple Vue pager (1)
Let’s see the effect first Snipaste_2021-06-04_10-12-54.png Style analysis A pager first needs the previous page, the next page, the middle page number, and the total number of data The current page is highlighted, and there are buttons that cannot be clicked and buttons that can be clicked Static style pageination vue <template> <div> < button […]
-
Spring data JPA report hour_ OF_ Day: 0 – > 1 exception resolution process and solution
During data query, the console reported an errorCaused by: com.mysql.cj.exceptions.WrongArgumentException: HOUR_OF_DAY: 0 -> 1Exception, the query shows that this is due to the query of MySQL database, and the conversion type isdatetimeCaused by a field of type. There are many online solutions, most of which are solved by setting the time zone. Unfortunately, through the […]
-
semantic-ui angularjs pagination
<!DOCTYPE html> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ /> <title>angular-semantic-pagination</title> <script></script> <script></script> <link href=”http://cdn.bootcss.com/semantic-ui/0.16.1/css/semantic.css” rel=”stylesheet” /> <script></script> <script> window.data = []; for (var i = 0; i < 300; i++) { data.push({ id: i, name: “item” + i, description: “description” + i, }); } </script> </head> <body data-ng-app=”app”> <table class=”ui table segment” data-ng-controller=”appController”> <thead> […]
-
JQuery gets and sets the checked property summary of the checkbox
Recently, jQuery has been used in the project to set the checkbox. The usage scenario is that there are three types of radio boxes on the page, one is to select all page data (id =’cb1 ‘), one is to select the current page (id =’cb2’), and the other is to select one (name =’cb3 […]
-
The paging query is wrapped as an iterator or returned as a stream
Paging query requires the caller to pass page number and page size information. It is a technical means to solve the problem that the consumer cannot accept so much data at one time due to the large amount of data. For the consumer with the concept of “page”, it is indeed convenient and effective to […]
-
Elementui table table serial number index page
…… //Serial number index page turning increment current page, fetchnum current page display number indexMethod(index){ return(this.currentPage-1)*this.fetchNum +index+1; }
-
Front end Ajax to achieve pagination ideas
1、 Explanation When I first joined the front-end family, pagination was definitely a mountain of obstacles for me, so if you don’t have some practical experience with JavaScript or jQuery, I suggest you get familiar with these two parts first, and then look at the article here, otherwise you will feel very uncomfortable. Learning is […]
-
Implementation of single conditional paging in SQL server stored procedure
SQL Server – Code: SQLServer Procedure Pagination_basic: ALTER PROCEDURE [qiancheng].[Pagination_basic] ( @Table_name VARCHAR (255), –name of table @Rows_target VARCHAR (1000) = ‘*’, –search rows @Rows_condition VARCHAR (1000) = ”, –the condition to find target (no where) @Rows_order VARCHAR (255) = ”, –the rows to rank @Order_type INT = 0, — *Q*C* 0 normal 1 down […]