Page 1 of 1

Is it possible to increase performance

Posted: 19 May 2017
by GregReno
I am using 16 controls that reference one linked list.
We use Kwizcom Repeating rows control for our repeating lists. One of my requirements was to get the row number. There was not not an obvious way to unless I script it. I also had to populate four other fields from other fields.
I have it working in Chrome. But in IE the delay is terrible and the form is unusable. I feel I could get Chrome to perform better but not necessary.

Hover seems to work best but I prefer mouseover. Focus did not seem to help any.

I also shrink the cell widths since the first field is always 6 times bigger than it should be. Fixing it cause sell 2 to do the same. It goes on tiel the X (delete).

Thank you.


Code: Select all

$('[id*=RR_OBS1]').hover(function() {

		var index = 0; $kw("[id*=RR_OBS1] tr[id*='gridForPreNewEdit2']").each(function () 
            { 
            index++; 			
			if (index == 1) { 
	 			$kw(this).find("[id*=RR_OBS1][id*=TASKINTTIME] ").val('0:00');
			}
			else {  }
			
			$kw(this).find("[id*=RR_OBS1][id*=Field_ObsNumber]").val(index); 
			
		});
			
			
			//$kw(this).find("[id*=RR_OBS1][id*=TaskChoices]").val(fd.field('_x0031_TASK').value());
			//$kw(this).find("[id*=RR_OBS1][id*=Field_AGName]").val(fd.field('_x0031_TASKAgent').value());			 
			
			$("[id*=RR_OBS1][id*=TaskChoices]").val(fd.field('_x0031_TASK').value());
			$("[id*=RR_OBS1][id*=Field_AGName]").val(fd.field('_x0031_TASKAgent').value());			 
			
			$('[id*=Field_PTNO] option')
    			.filter(function() { return $.trim( $(this).text() ) == fd.field('PTNO').value(); })
    			.attr('selected',true);
	
			$("td:has([id*=RR_OBS1][id*=_Delete])").css('width', '1%'); 
			$('[id*=RR_OBS1] td.k_rr_cellwrapper').css('width', '1%');  
			
	});
 

Re: Is it possible to increase performance

Posted: 22 May 2017
by Dmitry Kozlov
Hi,
You should address your request to KwizCom team.