Questions to Practice Course of Action for Logical Reasoning
Questions to Practice Course of Action for Logical Reasoning
.docxpressoPlugin { font-size: 83.35%; } .h5p_layout { box-sizing: content-box !important; } .h5p_layout *{ float: none; text-align: initial; box-sizing: border-box; } /*to make sure that floating elements are always inside the document bounds*/ .h5p_layout:after { content: " "; display: block; height: 0; clear: both; visibility: hidden; } /* a default layout for documents without maste styles */ .h5p_default_layout { margin-top: 3.6rem; margin-left: 8.50464rem; margin-bottom: 3.6rem; margin-right: 8.50464rem; writing-mode: lr-tb; } /*hack for IE */ wbr:after { content: "\00200B"; } /*hack to get some extra top margin for anchors if needed*/ .h5p_layout span[id^="_Toc"]{ padding-top: 10px; margin-top: -10px; } /* Remove unwanted numbering styles */ .h5p_layout .removeNumbering:before{ content: initial !important; display: none; all: initial !important; } /* give zero default top and bottom paddings for paragraphs*/ .h5p_layout p { color: #000000; line-height: 1; margin-top: 0; margin-bottom: 0; } .h5p_layout span { color: #000000; font-weight: normal; } .h5p_layout span.dropcap { color: inherit; font-family: inherit !important; } .h5p_layout h1, .h5p_layout h2, .h5p_layout h3, .h5p_layout h4, .h5p_layout h5, .h5p_layout h6 { margin-top: 0; margin-bottom: 0; font-family: inherit; font-weight: 500; line-height: 1; color: inherit; } /* give zero default top and bottom paddings for paragraphs in tables*/ .h5p_layout table p { margin-top: 0; margin-bottom: 0; } .h5p_layout ul, .h5p_layout ol { list-style-type: none; margin-top: 0; margin-bottom: 0.5em; padding-left: 0; } .h5p_layout ul li, .h5p_layout ol li { list-style-type: none; margin-top: 0; margin-bottom: 0.5em; } .h5p_layout li p { margin-top: 0; margin-bottom: 0; } .h5p_layout table { border: none; } .h5p_layout td { vertical-align: top; border: none; } .h5p_layout th { vertical-align: top; border: none; } .h5p_layout div { margin-bottom: 10pt; } .h5p_layout img { margin: 0; padding: 0; } .h5p_layout ul ul { margin-top: 0; margin-bottom: 0; } .h5p_layout li { margin-top: 0; margin-bottom: 0; list-style-type: none !important; } .h5p_layout ul, .h5p_layout ol { list-style-type: none !important; } .h5p_layout td[data-sorting] p:before, .h5p_layout th[data-sorting] p:before { content: ' '; padding-right: 16px; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALAQMAAACTYuVlAAAAA3NCSVQICAjb4U/gAAAABlBMVEUjLTD////tm/tRAAAACXBIWXMAAAsSAAALEgHS3X78AAAAFnRFWHRDcmVhdGlvbiBUaW1lADAyLzEwLzE2RFpLjQAAACB0RVh0U29mdHdhcmUATWFjcm9tZWRpYSBGaXJld29ya3MgTVi7kSokAAAAI0lEQVR4nGP4/4Dh9wOGjw8YHjxgOJDA8B9MPgCLAMX/PwAANZUStiyS6NsAAAAASUVORK5CYII=); background-position: left center; background-repeat: no-repeat; } .sortDecorator { border-bottom: 3px solid #b70000 !important; } /* This is a spacial class designed to remove unwanted bullets when a li has ul as its first child*/ .h5p_layout .removeBullet:before { content: none !important; } /*responsive tables*/ .h5p_layout div.dxoResponsiveTable{ margin: 0 !important; padding: 0 !important; overflow-x: auto !important; overflow-y: hidden; } /* chart tooltips */ .c3-tooltip-container td.name { white-space: nowrap; } /* External services*/ .h5p_layout iframe { resize: vertical; border: 1px solid #fff; } .h5p_layout div.youtube { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; background-color: transparent; } .h5p_layout div.youtube iframe { resize: none; position:absolute; top:0; left:0; width:100%; height:100%; } div#h5p_6a7c09193d14b p.P1 {border-top: none !important;border-left: none !important;border-bottom: 0.0138in solid #4472C4 !important;border-right: none !important;padding-top: 0in !important;padding-left: 0in !important;padding-bottom: 0.0555in !important;padding-right: 0in !important;margin-bottom: 0.2083in !important;line-height: 1 !important;break-before: page !important;text-align: center !important;font-size: 11pt;} div#h5p_6a7c09193d14b p.P1 span {hyphenate: false;font-family: Calibri Light;color: #323E4F;letter-spacing: 0.0034in;font-size: 26pt;hyphenate: false;font-weight: bold;} div#h5p_6a7c09193d14b p.P2 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P2 span {hyphenate: false;font-family: Times New Roman;font-weight: bold;font-size: 12pt;} div#h5p_6a7c09193d14b span.T3 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T4 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T5 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T6 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T7 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T8 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P9 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P9 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P10 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P10 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P11 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P11 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P12 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P12 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P13 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P13 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P14 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P14 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T15 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T16 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P17 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P17 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T18 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T19 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P20 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P20 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P21 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P21 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T22 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T23 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T24 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T25 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T26 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P27 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P27 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P28 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P28 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P29 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P29 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T30 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T31 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P32 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P32 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P33 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P33 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T34 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T35 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T36 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T37 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T38 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P39 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P39 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P40 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P40 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T41 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T42 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T43 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T44 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T45 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T46 {font-family: Times New Roman !important;font-weight: bold !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b span.T47 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.P48 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P48 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P49 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P49 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P50 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P50 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P51 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P51 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P52 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P52 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P53 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P53 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P54 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P54 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P55 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P55 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P56 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P56 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P57 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P57 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P58 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P58 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P59 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P59 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P60 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P60 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P61 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P61 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P62 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P62 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P63 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P63 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P64 {border-top: none !important;border-left: none !important;border-bottom: 0.0138in solid #4472C4 !important;border-right: none !important;padding-top: 0in !important;padding-left: 0in !important;padding-bottom: 0.0555in !important;padding-right: 0in !important;margin-bottom: 0.2083in !important;line-height: 1 !important;text-align: center !important;font-size: 11pt;} div#h5p_6a7c09193d14b p.P64 span {hyphenate: false;font-family: Calibri Light;color: #323E4F;letter-spacing: 0.0034in;font-size: 26pt;hyphenate: false;font-weight: bold;} div#h5p_6a7c09193d14b p.P65 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P65 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P66 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P66 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P67 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P67 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P68 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P68 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P69 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P69 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P70 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P70 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P71 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P71 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P72 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P72 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b p.P73 {font-size: 11pt;} div#h5p_6a7c09193d14b p.P73 span {hyphenate: false;font-family: Times New Roman;font-size: 12pt;} div#h5p_6a7c09193d14b span.T74 {font-family: Times New Roman !important;font-size: 12pt !important;} div#h5p_6a7c09193d14b p.Normal {font-size: 11pt;} div#h5p_6a7c09193d14b p.Normal span {hyphenate: false;font-size: 11pt;} div#h5p_6a7c09193d14b span.DefaultParagraphFont {font-size: 11pt;} div#h5p_6a7c09193d14b p.Title {border-top: none !important;border-left: none !important;border-bottom: 0.0138in solid #4472C4 !important;border-right: none !important;padding-top: 0in !important;padding-left: 0in !important;padding-bottom: 0.0555in !important;padding-right: 0in !important;margin-bottom: 0.2083in !important;line-height: 1 !important;font-size: 11pt;} div#h5p_6a7c09193d14b p.Title span {hyphenate: false;font-family: Calibri Light;color: #323E4F;letter-spacing: 0.0034in;font-size: 26pt;hyphenate: false;} div#h5p_6a7c09193d14b span.TitleChar {font-family: Calibri Light !important;color: #323E4F !important;letter-spacing: 0.0034in !important;font-size: 26pt !important;} div#h5p_6a7c09193d14b div {font-size: 11pt;} div#h5p_6a7c09193d14b table {margin-left: 0in;border-collapse: collapse;writing-mode: lr-tb;font-size: 11pt;} div#h5p_6a7c09193d14b table tr {height: 0in;keep-together: auto;font-size: 11pt;} div#h5p_6a7c09193d14b table td, table th {background-color: transparent;vertical-align: top;wrap-option: wrap;font-size: 11pt;} div#h5p_6a7c09193d14b p {keep-with-next: auto;keep-together: auto;widows: 2;orphans: 2;break-before: auto;border: none;text-align: left;writing-mode: lr-tb;margin-bottom: 0.1111in;line-height: 1.07;background-color: transparent;font-size: 11pt;} div#h5p_6a7c09193d14b p span {font-family: Calibri;font-weight: normal;font-style: normal;text-transform: none;font-variant: normal;text-shadow: none;letter-spacing: normal;font-size: 11pt;background-color: transparent;text-decoration: none;text-decoration-color: font-color;language: en;country: GB;hyphenate: true;}
Questions to Practice Course of Action for Logical Reasoning Directions for Questions 1 to 5 : In each of the questions below is given a statement followed by two courses of action numbered I and II. A course of action is a step or administrative decision to be taken for improvement, follow-up or further action in regard to the problem, policy etc. On the basis of the information given in the statement, you have to assume everything in the statement to be true, then decide which of the suggested courses of action logically follow(s) worth pursuing.Mark your answer as :(a) if only I follows(b) if only II follows(c) if either I or II follows(d) if neither I nor II follows(e) if both I and II follow1.Statement :The ground water in the locality has been found to contain high level of arsenic making it dangerous to drink.Courses of Action:I. The people living in the area should be shifted to another areas to avoid a catastrophic situation.II. The Government should make arrangements for supply of safe drinking water.2. Statement : A severe storm is likely to hit the city during the next forty-eight hours.Courses of Action :I. The administrations should advise all the business and educational establishments to close.II. The administration should activate its Disaster management Programme to tackle any possible emergency situation.3. Statement : As stated in the recent census report, the female to male ratio is alarmingly low.Courses of Action :1. The Government should conduct another census to verify the results.II. The Government should immediately issue orders to all departments to encourage people to improve the ratio.4. Statement : Prices of essential commodities have risen alarmingly due to prolonged transport strike.Courses of Action :I. The transporters' association should be ordered by the Government to immediately withdraw strike call or else they will face severe consequences.II. The Government should take help of military vehicles to restore supply of essential goods to the city5. Statement : A large number of students studying in vernacular medium have not passed the Xth standard final examination.Courses of Action :I. The Government should immediately review the situation and initiate measures to improve the it.II. All the teachers of these schools should be issued notices to improve performance of the students.Directions for Q. No. 6 to 10 : Read the following passage carefully and then answer the questions in the form of conclusions based on the passage.Mark your answer as:(a) if the conclusion is definitely true,(b) if the conclusion is probably true,(c) if the data are inadequate to answer,(d) if the conclusion is probably false,(e) if the conclusion is definitely false.Passage : The only dark cloud in the economic horizon is the rather unsatisfactory foreign exchange and one may hope that the industry will play its role in improving it by contributing to its export. The all round progress of our company is continuing. I am happy to report that during the first half of the current year (April-Sep, 1989), there has been further improvement in its working.6. The country is having inadequate foreign exchange reserves.7. The current financial year of the company will end on 31st March, 1990.8. In foreign countries, there is no demand for the products manufactured by our company.9. The Government of the country has asked the company to export its goods.10. The report is presented by the Chairman of the company to the share holders. ANSWER KEY Ans.1 - b. First course of action lacks the practical aspect. Second is feasible.Ans.2 - e. Both the courses of action are suitable.Ans.3 - e. Both the courses of action are suitable.Ans.4 - b. Every establishment/institution has the legal right to protest by way of strike. However, course of action (II) is the right course of action.Ans.5 - e. Both courses of action are suitable for pursuing.Ans.6 - a. Conclusion is definitely true as it is clear from the passageAns.7 - a. Conclusion is definitely true as it is clear from the last line.Ans.8 - c. Data is inadequate.Ans.9 - c. Data is inadequate.Ans.10 - c. Data is inadequate.(function( $ ) {
//footnotes
$('.defaultNote').children(":first").css('cursor', 'pointer');
$('.defaultNote').children(":first").click(function(){
var gotoID = '#' + $(this).parent().attr('id');
$('html, body').animate(
{
scrollTop: $('a[href="' + gotoID + '"]').offset().top - 60,
},
250,
'linear'
)
});
}(jQuery));
var numFormat = ",.";
(function( $ ) {
"use strict";
//do some cleaning on load
var sortCells = $('td[data-sorting], th[data-sorting]');
sortCells.each(function(){
var first = $(this).text().trim().charAt(0);
if (first == '@'){
var oldHTML = $(this).html();
var newHTML = oldHTML.replace('@', '');
$(this).html(newHTML);
}
});
function sortingTable(node, pos, ordBy){
var rows = node.children('tbody').children('tr').get();
rows.sort(function(a, b) {
var X = $(a).children('td').eq(pos).text().toUpperCase();
var Y = $(b).children('td').eq(pos).text().toUpperCase();
if (numFormat != '.,'){
//we are dealing with a different locale and we need to do some
//transformation in numbers
X = convert2number(X);
Y = convert2number(Y);
} else {
X = X.replace(/,/g, '').replace(/ /g, '');
Y = Y.replace(/,/g, '').replace(/ /g, '');
}
var currencies = ['$', '¥', '£', '€'];
var arrayLength = currencies.length;
var XX = X;
var YY = Y;
for (var i = 0; i < arrayLength; i++) {
XX = XX.replace(currencies[i], '');
YY = YY.replace(currencies[i], '');
}
if (!isNaN(XX) && !isNaN(YY)){
var floatXX = parseFloat(XX);
var floatYY = parseFloat(YY);
return -(floatYY-floatXX) * ordBy;
} else if (!isNaN(XX) && isNaN(YY)){
return -1 * ordBy;
} else if (isNaN(XX) && !isNaN(YY)){
return ordBy;
} else {
if(X < Y) {
return -1 * ordBy;
}
if(X > Y) {
return 1 * ordBy;
}
return 0;
}
});
$.each(rows, function(index, row) {
node.children('tbody').append(row);
});
}
function removeTableCellDecoration() {
$("td[data-sorting], th[data-sorting]").removeClass('sortDecorator');
}
//unbind the click event just in case we are loading more than one document
$("td[data-sorting], th[data-sorting]").off('click');
$("td[data-sorting], th[data-sorting]").click(function(){
removeTableCellDecoration();
$(this).addClass('sortDecorator');
//get desired ordering
var ordering = $(this).attr('data-sortOrdering');
if (ordering == 'ASC'){
var ordBy = -1;
$(this).attr('data-sortOrdering', 'DESC');
} else {
var ordBy = 1;
$(this).attr('data-sortOrdering', 'ASC');
}
var cellPosition = $(this).prevAll().length;
var table = $(this).parents('table:first');
sortingTable(table, cellPosition, ordBy);
});
function convert2number(str) {
str = str.trim();
if (str.match(/^\d+/)) {
//we have to take special care when the thousand separators are '.'
var result_0 = str.replace(/\./g, '_@_');
var result_1 = result_0.replace(window.numFormat[0], '.');
var result = result_1.replace(/_@_/g, '');
result .replace(/ /g, '');
return result;
} else {
return str;
}
}
}(jQuery));
Subscribe for updates
Join 10,000+ subscribers.
AD
Aditya Anand
Contributing author
Have a doubt about this?Ask Doubts


